Class Index | File Index

Classes


Built-In Namespace _global_

Method Summary
Method Attributes Method Name and Description
 
Adjusts width of the given dialog on dialog's show event.
 
Binds onlick event handlers to all items in the "Toolbox" panel.
 
colorToHex(color)
Converts RGB color to Hex color.
 
initWhiteboard(jsWhiteboard, whiteboardId, user, usersCount, pubSubUrl, pubSubTransport)
Initialization function for the entire whiteboard application.
 
Checks whether an JavaScript object is null or empty.
 
Sets auto width of the given dialog on dialog's hide event.
 
Sets auto width of the given dialog on dialog's show event.
 
Pins panels.
 
Removes unused panels after "pin panels".
 
sendPropertiesChanges(type, resize, resize)
Sends changed properties to WhiteboardDesigner which sends them to the server.
 
Toggles logging component.
 
Unpins panels.
Method Detail
adjustOpenAutoWidthDialog(jqDialog)
Adjusts width of the given dialog on dialog's show event.
Defined in: whiteboard.js.
Parameters:
jqDialog
jQuery object for dialog

bindOnclickToolboxItems()
Binds onlick event handlers to all items in the "Toolbox" panel.
Defined in: whiteboard.js.

colorToHex(color)
Converts RGB color to Hex color. This is an utility function for Color Picker.
Defined in: whiteboard.js.
Parameters:
color
color as RGB

initWhiteboard(jsWhiteboard, whiteboardId, user, usersCount, pubSubUrl, pubSubTransport)
Initialization function for the entire whiteboard application.
Defined in: whiteboard.js.
Parameters:
jsWhiteboard
current whiteboard in JSON format
whiteboardId
whiteboard's id
user
user (user name) working with this whiteboard
usersCount
number of users working with this whiteboard
pubSubUrl
URL for bidirectional communication
pubSubTransport
transport protocol "long-polling" | "streaming" | "websocket"

isBlankObject(obj)
Checks whether an JavaScript object is null or empty.
Defined in: whiteboard.js.
Parameters:
obj
any JavaScript object

onHideAutoWidthDialog(jqDialog)
Sets auto width of the given dialog on dialog's hide event.
Defined in: whiteboard.js.
Parameters:
jqDialog
jQuery object for dialog

onShowAutoWidthDialog(jqDialog)
Sets auto width of the given dialog on dialog's show event.
Defined in: whiteboard.js.
Parameters:
jqDialog
jQuery object for dialog

pinPanels()
Pins panels.
Defined in: whiteboard.js.

removeUnusedDialogs()
Removes unused panels after "pin panels".
Defined in: whiteboard.js.

sendPropertiesChanges(type, resize, resize)
Sends changed properties to WhiteboardDesigner which sends them to the server.
Defined in: whiteboard.js.
Parameters:
type
element type
resize
boolean flag, true - resize element, false - otherwise.
resize
boolean flag, true - rotate element, false - otherwise.

toggleLogging()
Toggles logging component.
Defined in: whiteboard.js.

unpinPanels()
Unpins panels.
Defined in: whiteboard.js.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Sep 27 2011 11:04:11 GMT+0200 (MESZ)