Property | Defined by | ||
---|---|---|---|
_controlledPanel : IEventDispatcher The panel currently being controlled.
| Controller |
Method | Defined by | ||
---|---|---|---|
handleAction(cmd:String, arg:Object):Boolean
Handle an action that was generated by our panel or some child.
| Controller | ||
postAction(cmd:String, arg:Object = null):void
Post an action so that it can be handled by this controller or
another controller above it in the display list.
| Controller |
Method | Defined by | ||
---|---|---|---|
setControlledPanel(panel:IEventDispatcher):void
Set the panel being controlled.
| Controller |
_controlledPanel | property |
protected var _controlledPanel:IEventDispatcher
The panel currently being controlled.
handleAction | () | method |
public function handleAction(cmd:String, arg:Object):Boolean
Handle an action that was generated by our panel or some child.
Parameterscmd:String |
|
arg:Object |
Boolean — true if the specified action was handled, false otherwise.
When creating your own controller, override this function and return
true for any command handled, and call super for any unknown commands.
|
postAction | () | method |
public final function postAction(cmd:String, arg:Object = null):void
Post an action so that it can be handled by this controller or another controller above it in the display list.
Parameterscmd:String |
|
arg:Object (default = null )
|
setControlledPanel | () | method |
protected function setControlledPanel(panel:IEventDispatcher):void
Set the panel being controlled.
Parameterspanel:IEventDispatcher |