Packagecom.kapit.diagram.actions
Classpublic class SelectAllAction
InheritanceSelectAllAction Inheritance KeyboardAction Inheritance Action



Public Properties
 PropertyDefined by
 Inheritedaltkey : *
Indicates whether the ALT key has to be pressed or not to consider the KeyboardAction.
KeyboardAction
 Inheritedcharcode : *
The charcode of the key used in combination with the SHIFT, ALT and/or CTRL keys.
KeyboardAction
 Inheritedcontrolkey : *
Indicates whether the CTRL key has to be pressed or not to consider the KeyboardAction.
KeyboardAction
 Inheritedid : String
ID of this action.
Action
 Inheritedkeycode : *
The key used in combination with the SHIFT, ALT and/or CTRL keys.
KeyboardAction
 Inheritedmanager : ActionsManager
The ActionsManager instance controlling this action (cursors, properties...).
Action
 Inheritedshiftkey : *
Indicates whether the SHIFT key has to be pressed or not to consider the KeyboardAction.
KeyboardAction
 Inheritedsource : IDiagramElement
The DiagramElement instance that has triggered this action.
Action
 Inheritedview : DiagramView
The DiagramView instance where this action has been triggered.
Action
Protected Properties
 PropertyDefined by
 Inherited_alt : * = undefined
ALT Key Enabled/Disabled (true boolean value if enabled)
KeyboardAction
 Inherited_charcode : * = undefined
A Char Code Key used with the Ctrl, Shift or ALT key in a keys combination.
KeyboardAction
 Inherited_ctrl : * = undefined
Ctrl Key Enabled/Disabled (true boolean value if enabled).
KeyboardAction
 Inherited_id : String
ID reference of the action.
Action
 Inherited_keycode : * = undefined
A Key Code (no combination) like delete key.
KeyboardAction
 Inherited_manager : ActionsManager = null
ActionsManager dealing with the control of this action.
Action
 Inherited_shift : * = undefined
Shift Key Enabled/Disabled (true boolean value if enabled).
KeyboardAction
 Inherited_source : IDiagramElement = null
The DiagramElement that has triggered this action.
Action
 Inherited_view : DiagramView
The DiagramView where this action has been triggered.
Action
Public Methods
 MethodDefined by
  
Creates a new SelectAllAction instance having "selectall" as ID and "A" as charcode and needing the CTRL Key to be pressed and the SHIFT key to be released.
SelectAllAction
 Inherited
abort():void
Terminates the execution of this action with success equal to false.
Action
  
execute(dob:IDiagramElement = null, event:Event = null, args:Array = null):Boolean
Executes the tasks of this action.
SelectAllAction
 Inherited
terminate(success:Boolean):void
Terminates the execution of this action with a termination status equal to success.
Action
Constructor detail
SelectAllAction()constructor
public function SelectAllAction()

Creates a new SelectAllAction instance having "selectall" as ID and "A" as charcode and needing the CTRL Key to be pressed and the SHIFT key to be released.

Method detail
execute()method
public override function execute(dob:IDiagramElement = null, event:Event = null, args:Array = null):Boolean

Executes the tasks of this action.

Parameters
dob: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.

Returns
Boolean — Termination status of the execution of this action.