Methods
(async, private) activateGed() → {Promise}
Function used to activate GED
- Source:
Returns:
when GED is there
- Type
- Promise
(private) activateStatusBar()
Show/toggle event status bar
- Source:
(private) canSendWebSocket()
Return true if message can be send via web socket
- Source:
(private) canStatusBar()
Check if status bar can be toggled
- Source:
(async) changeLayout() → {Promise}
Changes layout
- Source:
Returns:
indicating when finished
- Type
- Promise
cleanup()
Cleanup canvas painter
- Source:
clickPadButton()
Handle pad button click event
- Source:
(private) closeWebsocket()
Close websocket connection to canvas
- Source:
(private) completeCanvasSnapDrawing()
Complete handling of online canvas drawing
- Source:
(async, private) drawInSidePanel()
Draw in side panel
- Source:
(async, private) drawProjection()
Draw projection for specified histogram
- Source:
getCanvasName()
Returns canvas name
- Source:
getLayoutKind()
Returns layout kind
- Source:
getStatusBits()
Return actual TCanvas status bits
- Source:
(private) getUi5PanelData()
Get view data for ui5 panel
- Source:
hasEventStatus()
Returns true if event status shown in the canvas
- Source:
hasGed()
Returns true if GED is present on the canvas
- Source:
(private) onWebsocketClosed()
Handler for websocket close event
- Source:
(private) onWebsocketMsg()
Handle websocket messages
- Source:
(private) onWebsocketOpened()
Handler for websocket open event
- Source:
(private) processChanges()
Method informs that something was changed in the canvas
- Description:
used to update information on the server (when used with web6gui)
- Source:
(private) processHighlightConnect()
Handle highlight in canvas - deliver information to server
- Source:
produceJSON()
produce JSON for TCanvas, which can be used to display canvas once again
- Source:
(private) removeGed()
Function used to de-activate GED
- Source:
resizeBrowser()
resize browser window
- Source:
saveCanvasAsFile()
Function called when canvas menu item Save is called
- Source:
selectActivePad()
Select active pad on the canvas
- Source:
(private) sendResized()
Send RESIZED message to client to inform about changes in canvas/window geometry
- Source:
(private) sendSaveCommand()
Send command to server to save canvas with specified name
- Description:
Should be only used in web-based canvas
- Source:
(private) sendWebsocket()
Send text message with web socket
- Description:
used for communication with server-side of web canvas
- Source:
setLayoutKind()
Set canvas layout kind
- Source:
(private) showCanvasStatus()
Show online canvas status
- Source:
(private) showMessage()
Show message
- Description:
Used normally with web-based canvas and handled in ui5
- Source:
(async) showSection()
Show section of canvas like menu or editor
- Source:
(private) startFitPanel()
Send command to start fit panel code on the server
- Source:
(private) submitExec()
Submit object exec request
- Source:
(async, private) submitMenuRequest()
Submit menu request
- Source:
(private) testUI5()
Checks if canvas shown inside ui5 widget
- Description:
Function should be used only from the func which supposed to be replaced by ui5
- Source:
(async, private) toggleProjection() → {Promise}
Toggle projection
- Source:
Returns:
indicating when ready
- Type
- Promise
(private) useWebsocket()
Use provided connection for the web canvas
- Source:
websocketTimeout()
set, test or reset timeout of specified name
- Description:
Used to prevent overloading of websocket for specific function
- Source:
(async, static) draw()
draw TCanvas
- Source: