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