Class UIBuilder
Class defined in:public/src/ui_builder.js:22
Constructor for UIBuilder object
addRemoteSite
( data
)
public/src/ui_builder.js:1307
Add a remote side in the top sharing bar
Parameters:-
data
<Object>remote site information
buildImageBox
( id, imgsrc, title
)
public/src/ui_builder.js:621
Builds a box to display an image
Parameters:buildMessageBox
( id, message
)
public/src/ui_builder.js:565
Builds a box to display a message
Parameters:changeSagePointerMode
( pointer_data
)
public/src/ui_builder.js:1092
Switch between window and application interaction mode
Parameters:-
pointer_data
<Object>pointer information
changeSVGColor
( svgItem, elementType, strokeColor, fillColor
)
public/src/ui_builder.js:817
Change stroke and fill color of SVG elements
Parameters:connectedToRemoteSite
( data
)
public/src/ui_builder.js:1361
Update remote side status and color
Parameters:-
data
<Object>remote site information
createRadialMenu
( data
)
public/src/ui_builder.js:1102
Create a radial menu
Parameters:-
data
<Object>menu data
createSagePointer
( pointer_data
)
public/src/ui_builder.js:981
Create a pointer
Parameters:-
pointer_data
<Object>pointer information
drawObject
( drawingObject
)
public/src/ui_builder.js:863
Draws a drawing object gotten from the server to the tile's drawingSvg
Parameters:-
drawingObject
<Object>drawing object
hideDataSharingRequestDialog
(
)
public/src/ui_builder.js:1409
Close dialog to accept/reject requests for a new data sharing session from a remote site
hideDataSharingWaitingDialog
(
)
public/src/ui_builder.js:1433
Close dialog that displays wait message for data sharing session from a remote site
hideSagePointer
( pointer_data
)
public/src/ui_builder.js:1053
Hide a pointer
Parameters:-
pointer_data
<Object>pointer information
radialMenuEvent
( data
)
public/src/ui_builder.js:1233
Deal with event in radial menu
Parameters:-
data
<Event>event
setTime
( val
)
public/src/ui_builder.js:680
Update the clock in the title bar
Parameters:-
val
<Date>new time from server
showDataSharingRequestDialog
( data
)
public/src/ui_builder.js:1394
Dialog to accept/reject requests for a new data sharing session from a remote site
Parameters:-
data
<Object>remote site information
showDataSharingWaitingDialog
( data
)
public/src/ui_builder.js:1418
Dialog that displays wait message for data sharing session from a remote site
Parameters:-
data
<Object>remote site information
showSagePointer
( pointer_data
)
public/src/ui_builder.js:1022
Show the pointer: change CSS values, update position, label and color
Parameters:-
pointer_data
<Object>pointer information
updateObject
( drawingObject
)
public/src/ui_builder.js:923
update a drawing object already drawn in the drawingSvg
Parameters:-
drawingObject
<Object>drawing object
updateRadialMenu
( data
)
public/src/ui_builder.js:1173
Update the radial menu state (visibility, position)
Parameters:-
data
<Object>menu data
updateRadialMenuApps
( data
)
public/src/ui_builder.js:1293
Update the list of app in the menu
Parameters:-
data
<Object>data
updateRadialMenuDocs
( data
)
public/src/ui_builder.js:1279
Update the list of file in the menu
Parameters:-
data
<Object>data
updateRadialMenuPosition
( data
)
public/src/ui_builder.js:1212
Update the radial menu position
Parameters:-
data
<Object>menu data
updateSagePointerPosition
( pointer_data
)
public/src/ui_builder.js:1065
Move a pointer using CSS
Parameters:-
pointer_data
<Object>pointer information
updateVersionText
( data
)
public/src/ui_builder.js:722
Update the version number in the title bar
Parameters:-
data
<Object>new time from server