| Package | com.senocular.display.transform |
| Class | public class ControlReset |
| Inheritance | ControlReset Control flash.display.Sprite |
| Method | Defined By | ||
|---|---|---|---|
Constructor for creating new ControlReset instances. | ControlReset | ||
draw():void [override]
Draws the visuals of the control. | ControlReset | ||
redraw(event:Event):void [override]
Handler for the TransformTool.REDRAW event. | ControlReset | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | added(event:Event):void
Handler for the Event.ADDED event (capture). | Control | |
![]() | addedToStage(event:Event):void
Handler for the Event.ADDED_TO_STAGE event. | Control | |
![]() | cleanupTool():void
Cleanup steps when defining a new tool value. | Control | |
click(event:MouseEvent):void
Handler for the MouseEvent.CLICK event. | ControlReset | ||
![]() | removedFromStage(event:Event):void
Handler for the Event.REMOVED_FROM_STAGE event. | Control | |
![]() | setupTool():void
Setup steps when defining a new tool value. | Control | |
![]() | targetChanged(event:Event):void
Handler for the TransformTool.TARGET_CHANGED event. | Control | |
| ControlReset | () | Constructor |
public function ControlReset()Constructor for creating new ControlReset instances.
| click | () | method |
protected function click(event:MouseEvent):voidHandler for the MouseEvent.CLICK event. When clicked, the ControlReset instance resets the Transform Tool's transform and then updates it.
Parameters
event:MouseEvent |
| draw | () | method |
override public function draw():voidDraws the visuals of the control. This is called when first added to the stage as a child of a TransformTool instance and when a child is added to the control's own display list. It can be called at any time to redraw the graphics of the control.
| redraw | () | method |
override public function redraw(event:Event):voidHandler for the TransformTool.REDRAW event. This has no default behavior and is to be overriden by subclasses if needed.
Parameters
event:Event |