Package | artcustomer.framework.core |
Class | public class AbstractCommand |
Inheritance | AbstractCommand Object |
Method | Defined By | ||
---|---|---|---|
Constructor
| AbstractCommand | ||
destroy():void
Destroy commands in controler. | AbstractCommand | ||
execute(event:Event, macroCommandID:String):void
Execute command. | AbstractCommand | ||
getMacro(id:String):IMacroCommand
Get MacroCommand. | AbstractCommand | ||
hasregisterMacro(id:String):Boolean
Has Registered MacroCommand. | AbstractCommand | ||
registerMacro(macroClass:Class, macroID:String):void
Register MacroCommand. | AbstractCommand | ||
reset():void
Reset commands in controler. | AbstractCommand | ||
setup():void
Setup commands in controler. | AbstractCommand | ||
unregisterMacro(id:String):void
Unregister MacroCommand. | AbstractCommand |
AbstractCommand | () | Constructor |
public function AbstractCommand()
Constructor
destroy | () | method |
public function destroy():void
Destroy commands in controler. Must be overrided and called at last in child !
execute | () | method |
public final function execute(event:Event, macroCommandID:String):void
Execute command. Never be overrided.
Parameters
event:Event | |
macroCommandID:String |
getMacro | () | method |
public final function getMacro(id:String):IMacroCommand
Get MacroCommand. Never be overrided.
Parameters
id:String |
IMacroCommand |
hasregisterMacro | () | method |
public final function hasregisterMacro(id:String):Boolean
Has Registered MacroCommand. Never be overrided.
Parameters
id:String |
Boolean |
registerMacro | () | method |
public final function registerMacro(macroClass:Class, macroID:String):void
Register MacroCommand. Never be overrided.
Parameters
macroClass:Class | |
macroID:String |
reset | () | method |
public function reset():void
Reset commands in controler. Can be overrided.
setup | () | method |
public function setup():void
Setup commands in controler. Must be overrided and called at first in child !
unregisterMacro | () | method |
public final function unregisterMacro(id:String):void
Unregister MacroCommand. Never be overrided.
Parameters
id:String |