包 | com.adobe.acm.solutions.authoring.domain.extensions |
接口 | public interface IActionHandler extends IEventDispatcher |
实现器 | CCRDefaultActionHandler |
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
公共属性
属性 | 由以下参数定义 | ||
---|---|---|---|
action : CustomAction
Fetch action associated with this handler instance. | IActionHandler | ||
model : *
Flex Domain Model for on which the action is being taken
| IActionHandler |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
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
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | IEventDispatcher | ||
将事件调度到事件流中。 | IEventDispatcher | ||
Called when user user click an action
| IActionHandler | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | IEventDispatcher | ||
从 EventDispatcher 对象中删除侦听器。 | IEventDispatcher | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | IEventDispatcher |
属性详细信息
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 | 属性 |
方法详细信息
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