套件 | 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, 03:47 PM Z