PackageWhiteboard.tools.menuBars
Interfacepublic interface IWhiteboardMenuBar
ImplementorsWhiteboardMenuBar



Public Methods
 MethodDefined by
  
getValue(valueID:String):Object
Called for every property registerd for a tool such as 'fillColor' you can return a value from your menu or null.
IWhiteboardMenuBar
  
setValue(valueID:String, value:Object):void
Called when a shape is selected for every property on the shape for the menu to update it's UI to reflect the selected shape.
IWhiteboardMenuBar
Method detail
getValue()method
public function getValue(valueID:String):Object

Called for every property registerd for a tool such as 'fillColor' you can return a value from your menu or null.

Parameters
valueID:String — property name such as 'lineSize' or 'fillColor'

Returns
Object
setValue()method 
public function setValue(valueID:String, value:Object):void

Called when a shape is selected for every property on the shape for the menu to update it's UI to reflect the selected shape.

Parameters
valueID:String
 
value:Object