PackageWhiteboard.editors
Interfacepublic interface IWhiteboardEditor



Public Methods
 MethodDefined by
  
clear():void
Called when the editor is hidden, here you should clear your graphics and move assets to 0,0 so the editor's size will not effect scale or scroll bars.
IWhiteboardEditor
  
getName():String
Returns the name of the editor.
IWhiteboardEditor
  
onDeselect():void
Called when the shape using this editor is deselected.
IWhiteboardEditor
  
onMouseMove():void
Called when the mouse moves globally, because local mouse events do not work outside of its container.
IWhiteboardEditor
  
onMouseUp():void
Called when the mouse is released globally.
IWhiteboardEditor
  
onSelect(shape:ShapeRef):void
Called when a shape which uses this editor is selected.
IWhiteboardEditor
Method detail
clear()method
public function clear():void

Called when the editor is hidden, here you should clear your graphics and move assets to 0,0 so the editor's size will not effect scale or scroll bars.

getName()method 
public function getName():String

Returns the name of the editor.

Returns
String
onDeselect()method 
public function onDeselect():void

Called when the shape using this editor is deselected.

onMouseMove()method 
public function onMouseMove():void

Called when the mouse moves globally, because local mouse events do not work outside of its container. Mouse down events however should be handled by the editor itself.

onMouseUp()method 
public function onMouseUp():void

Called when the mouse is released globally.

onSelect()method 
public function onSelect(shape:ShapeRef):void

Called when a shape which uses this editor is selected.

Parameters
shape:ShapeRef — shape selected

See also