Package | com.adobe.acm.solutions.authoring.domain.extensions |
Interface | public interface IActionHandler extends IEventDispatcher |
Implementors | CCRDefaultActionHandler |
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Public Properties
Property | Defined By | ||
---|---|---|---|
action : CustomAction
Fetch action associated with this handler instance. | IActionHandler | ||
model : *
Flex Domain Model for on which the action is being taken
| IActionHandler |
Public Methods
Method | Defined By | ||
---|---|---|---|
Should the action be enabled in toolbar
| IActionHandler | ||
Should the action be visible in toolbar
| IActionHandler | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | IEventDispatcher | ||
Dispatches an event into the event flow. | IEventDispatcher | ||
Called when user user click an action
| IActionHandler | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | IEventDispatcher | ||
Removes a listener from the EventDispatcher object. | IEventDispatcher | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | IEventDispatcher |
Property Detail
action | property |
action:CustomAction
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Fetch action associated with this handler instance.
This property can be used as the source for data binding. When this property is modified, it dispatches the propertyChange
event.
Implementation
public function get action():CustomAction
public function set action(value:CustomAction):void
model | property |
model:*
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Flex Domain Model for on which the action is being taken
This property can be used as the source for data binding. When this property is modified, it dispatches the propertyChange
event.
Implementation
public function get model():*
public function set model(value:any):void
Method Detail
actionEnabled | () | method |
public function actionEnabled(extraParams:Object = null):Boolean
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Should the action be enabled in toolbar
Parameters
extraParams:Object (default = null ) — additional arguements that may be passed to handler (For future use)
|
Boolean — flag indicating whether the action should be enabled
|
actionVisible | () | method |
public function actionVisible(extraParams:Object = null):Boolean
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Should the action be visible in toolbar
Parameters
extraParams:Object (default = null ) — additional arguements that may be passed to handler (For future use)
|
Boolean — flag indicating whether the action should be visible
|
handleAction | () | method |
public function handleAction(extraParams:Object = null):void
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Called when user user click an action
Parameters
extraParams:Object (default = null ) — additional arguements that may be passed to handler (For future use)
|
Mon Nov 28 2011, 06:48 AM -08:00