Package | com.adobe.acm.solutions.ccr.domain.extensions |
Class | public class CCRDefaultActionHandler |
Inheritance | CCRDefaultActionHandler EventDispatcher Object |
Implements | IActionHandler |
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. | CCRDefaultActionHandler | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
model : *
Flex Domain Model for on which the action is being taken
| CCRDefaultActionHandler |
Public Methods
Method | Defined By | ||
---|---|---|---|
Constructor. | CCRDefaultActionHandler | ||
Should the action be enabled in toolbar
| CCRDefaultActionHandler | ||
Should the action be visible in toolbar
| CCRDefaultActionHandler | ||
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. | EventDispatcher | ||
Dispatches an event into the event flow. | EventDispatcher | ||
Called when user user click an action
| CCRDefaultActionHandler | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | EventDispatcher | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Removes a listener from the EventDispatcher object. | EventDispatcher | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object | ||
Checks whether an event listener is registered with this EventDispatcher object or any of
its ancestors for the specified event type. | EventDispatcher |
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
Constructor Detail
CCRDefaultActionHandler | () | Constructor |
public function CCRDefaultActionHandler()
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Constructor.
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)
|
Thu Dec 6 2018, 01:12 PM -08:00