| Package | com.kapit.diagram.actions |
| Class | public class TransformAction |
| Inheritance | TransformAction ComplexAction Action |
| Method | Defined by | ||
|---|---|---|---|
| TransformAction | |||
|
abort():void
Aborts the TextEditAction processing and recovers the previous TextField content.
| TransformAction | ||
![]() |
changeCursor(cursorclass:Class, dx:Number, dy:Number):void
Changes the current cursor.
| ComplexAction | |
|
execute(dob:IDiagramElement = null, event:Event = null, args:Array = null):Boolean
Executes the tasks of this action.
| TransformAction | ||
|
mouseDownHandler(event:MouseEvent):void
| TransformAction | ||
![]() |
removeCursor():void
Removes the used cursor.
| ComplexAction | |
![]() |
rollOut(dob:IDiagramElement, event:MouseEvent):void
Sets the roll out reaction given a DiagramElement and a mouse event.
| ComplexAction | |
![]() |
rollOver(dob:IDiagramElement, event:MouseEvent):void
Sets the roll over reaction given a DiagramElement and a mouse event.
| ComplexAction | |
|
terminate(success:Boolean):void
Terminates the execution of this action with a termination status
equal to
success. | TransformAction | ||
![]() |
uiCompleted():void
| ComplexAction | |
| Method | Defined by | ||
|---|---|---|---|
|
changeHandler(event:Event):void
| TransformAction | ||
|
killFocus(event:FocusEvent):void
| TransformAction | ||
| TransformAction | () | constructor |
public function TransformAction()
| abort | () | method |
public override function abort():voidAborts the TextEditAction processing and recovers the previous TextField content.
| changeHandler | () | method |
protected function changeHandler(event:Event):voidParameters
event:Event |
| execute | () | method |
public override function execute(dob:IDiagramElement = null, event:Event = null, args:Array = null):BooleanExecutes the tasks of this action. It creates a TextField component where we can input text as SVGTextElement.
Parametersdob:IDiagramElement (default = null) — DiagramElement instance where this action has been triggered.
|
|
event:Event (default = null) — The triggered Event.
|
|
args:Array (default = null) — Parameters used in the execution of this action.
|
Boolean — Termination status of the execution of this action.
|
| killFocus | () | method |
protected function killFocus(event:FocusEvent):voidParameters
event:FocusEvent |
| mouseDownHandler | () | method |
public function mouseDownHandler(event:MouseEvent):voidParameters
event:MouseEvent |
| terminate | () | method |
public override function terminate(success:Boolean):void
Terminates the execution of this action with a termination status
equal to success. A true
value of the success parameter indicates that the
action has been successfuly finished, while a false
value indicates that the action has been aborted.
success:Boolean — Termination status of this action. A true
value indicates that this action has been successfuly finished, while
a false value indicates that the action has been aborted.
|