包 | com.adobe.acm.solutions.ccr.domain.extensions |
类 | public class CCRDefaultActionHandler |
继承 | CCRDefaultActionHandler EventDispatcher Object |
实现 | IActionHandler |
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
公共属性
属性 | 由以下参数定义 | ||
---|---|---|---|
action : CustomAction
Fetch action associated with this handler instance. | CCRDefaultActionHandler | ||
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
model : *
Flex Domain Model for on which the action is being taken
| CCRDefaultActionHandler |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
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
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | EventDispatcher | ||
将事件调度到事件流中。 | EventDispatcher | ||
Called when user user click an action
| CCRDefaultActionHandler | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | EventDispatcher | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
从 EventDispatcher 对象中删除侦听器。 | EventDispatcher | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | EventDispatcher |
属性详细信息
action | 属性 |
action:CustomAction
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Fetch action associated with this handler instance.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get action():CustomAction
public function set action(value:CustomAction):void
model | 属性 |
构造函数详细信息
CCRDefaultActionHandler | () | 构造函数 |
public function CCRDefaultActionHandler()
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Constructor.
方法详细信息
actionEnabled | () | 方法 |
public function actionEnabled(extraParams:Object = null):Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Should the action be enabled in toolbar
参数
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 | () | 方法 |
public function actionVisible(extraParams:Object = null):Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Should the action be visible in toolbar
参数
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 | () | 方法 |
public function handleAction(extraParams:Object = null):void
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Called when user user click an action
参数
extraParams:Object (default = null ) — additional arguements that may be passed to handler (For future use)
|
Tue Jun 12 2018, 11:04 AM Z