ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.acm.solutions.ccr.domain.extensions 

CCRDefaultActionHandler  - AS3 Asset Composer

Packagecom.adobe.acm.solutions.ccr.domain.extensions
Classpublic class CCRDefaultActionHandler
InheritanceCCRDefaultActionHandler Inheritance EventDispatcher Inheritance Object
Implements IActionHandler

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

The default action handler called for any custom action when no other action handler is provided.



Public Properties
 PropertyDefined By
  action : CustomAction
Fetch action associated with this handler instance.
CCRDefaultActionHandler
 Inheritedconstructor : 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
 MethodDefined By
  
Constructor.
CCRDefaultActionHandler
  
actionEnabled(extraParams:Object = null):Boolean
Should the action be enabled in toolbar
CCRDefaultActionHandler
  
actionVisible(extraParams:Object = null):Boolean
Should the action be visible in toolbar
CCRDefaultActionHandler
 Inherited
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
 Inherited
Dispatches an event into the event flow.
EventDispatcher
  
handleAction(extraParams:Object = null):void
Called when user user click an action
CCRDefaultActionHandler
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Events
 Event Summary Defined By
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active.EventDispatcher
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive.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)

Returns
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)

Returns
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)