Once setClickedHandle has setup the dragging properties, onMouseHandles updates
the item state when the mouse is moved, and applies the new properties to the
underlying data on a mouse up.
setClickedHandle determines which (if any) drag handle is under the provided event,
and sets up the current dragging properties to manipulate this object based on the result.
To skin the component, implement a skin that defines the following states. Although you must implement all skin states, a skin state can be empty. An empty skin state specifies no changes to the default skin state.
override protected function commitProperties():void
getCurrentSkinState
()
method
override protected function getCurrentSkinState():StringReturns
String
handleContainsPoint
()
method
protected function handleContainsPoint(handle:GraphicElement, point:Point):Boolean
Parameters
handle:GraphicElement
point:Point
Returns
Boolean
loseContext
()
method
public function loseContext():BooleanReturns
Boolean
onDataPropertyChanged
()
method
protected function onDataPropertyChanged(event:PropertyChangeEvent):void
Parameters
event:PropertyChangeEvent
onMouseDoubleClick
()
method
protected function onMouseDoubleClick(event:MouseEvent):void
Parameters
event:MouseEvent
onMouseDown
()
method
protected function onMouseDown(event:MouseEvent):void
Parameters
event:MouseEvent
onMouseHandles
()
method
protected function onMouseHandles(event:MouseEvent):void
Once setClickedHandle has setup the dragging properties, onMouseHandles updates
the item state when the mouse is moved, and applies the new properties to the
underlying data on a mouse up.
Parameters
event:MouseEvent
onMouseRoll
()
method
protected function onMouseRoll(event:MouseEvent):void
Parameters
event:MouseEvent
onSetImageClick
()
method
protected function onSetImageClick(event:MouseEvent):void
Parameters
event:MouseEvent
onTextChange
()
method
protected function onTextChange(event:TextOperationEvent):void
Parameters
event:TextOperationEvent
partAdded
()
method
override protected function partAdded(partName:String, instance:Object):void
Called when a skin has added a skin part for this instance.
Parameters
partName:String
instance:Object
partRemoved
()
method
override protected function partRemoved(partName:String, instance:Object):void
Called when a skin has removed a skin part for this instance.
Parameters
partName:String
instance:Object
removeListenAndWatch
()
method
public function removeListenAndWatch():void
setAuthoringMode
()
method
protected function setAuthoringMode(value:Boolean):void
Parameters
value:Boolean
setClickedHandle
()
method
protected function setClickedHandle(event:MouseEvent):void
setClickedHandle determines which (if any) drag handle is under the provided event,
and sets up the current dragging properties to manipulate this object based on the result.
Parameters
event:MouseEvent
setupDraggingHandle
()
method
protected function setupDraggingHandle(draggingLeft:Boolean, draggingRight:Boolean, draggingTop:Boolean, draggingBottom:Boolean):void