套件 | com.adobe.icc.editors.model |
類別 | public class AssetModel |
繼承 | AssetModel EventDispatcher Object |
子類別 | FragmentLayoutModel, LayoutModel, LetterModel, ModuleModel |
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
This class is supposedly abstract and should not be instantiated as is.
To work on a particular asset, its corresponding domain model class must
be used e.g. TextModel
, LayoutModel
etc.
It contains several properties and methods pulled up from the concrete classes. In case, a new asset is introduced in the system and a domain class needs to be written for it, this class should be extended even though it's not mandatory.
屬性 | 定義自 | ||
---|---|---|---|
activeEndDate : Date
The activeEndDate of the underlying value object. | AssetModel | ||
activeStartDate : Date
The activeStartDate date of the underlying value object. | AssetModel | ||
category : Category
The Category of the underlying value object. | AssetModel | ||
comment : String
The comment of the underlying value object. | AssetModel | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
crxVersion : String
The crx version of the underlying value object. | AssetModel | ||
description : String
The description of the underlying value object. | AssetModel | ||
extendedProperties : Object
The extended properties of the underlying value object. | AssetModel | ||
id : String
The GUID of the underlying value object. | AssetModel | ||
isNew : Boolean
Indicates if this Asset is new. | AssetModel | ||
lastChangeBy : String
The lastChangeBy property of the underlying value object. | AssetModel | ||
name : String
The name of the underlying value object. | AssetModel | ||
state : int
The state of the underlying value object. | AssetModel | ||
subCategory : Category
The Sub-Category of the underlying value object. | AssetModel | ||
version : int
The version of the underlying value object. | AssetModel | ||
vo : *
The value object which this asset domain object is built atop. | AssetModel |
屬性 | 定義自 | ||
---|---|---|---|
isCopy : Boolean
Indicates that the object is a copy of an existing Asset. | AssetModel | ||
oldId : String
Id of the Asset which was cloned to create this copy. | AssetModel | ||
preferencesManager : PreferencesManager
To manage user preferences for category, subcategory and data dictionary. | AssetModel |
方法 | 定義自 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
Saves the user edits for any asset. | AssetModel | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
事件 | 摘要 | 定義自 | ||
---|---|---|---|---|
[廣播事件] 當 Flash Player 或 AIR 應用程式取得作業系統焦點並成為作用中時傳送。 | EventDispatcher | |||
[廣播事件] 當 Flash Player 或 AIR 應用程式失去作業系統焦點並成為非作用中時傳送。 | EventDispatcher | |||
Dispatched when this Asset is completely fetched from the server. | AssetModel |
activeEndDate | 屬性 |
activeEndDate:Date
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The activeEndDate of the underlying value object.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 fetchComplete
事件。
實作
public function get activeEndDate():Date
public function set activeEndDate(value:Date):void
activeStartDate | 屬性 |
activeStartDate:Date
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The activeStartDate date of the underlying value object.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 fetchComplete
事件。
實作
public function get activeStartDate():Date
public function set activeStartDate(value:Date):void
category | 屬性 |
category:Category
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The Category of the underlying value object.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 categoryChange
事件。
實作
public function get category():Category
public function set category(value:Category):void
comment | 屬性 |
comment:String
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The comment of the underlying value object.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 fetchComplete
事件。
實作
public function get comment():String
public function set comment(value:String):void
crxVersion | 屬性 |
crxVersion:String
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
The crx version of the underlying value object.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 fetchComplete
事件。
實作
public function get crxVersion():String
public function set crxVersion(value:String):void
description | 屬性 |
description:String
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The description of the underlying value object.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 fetchComplete
事件。
實作
public function get description():String
public function set description(value:String):void
extendedProperties | 屬性 |
extendedProperties:Object
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
The extended properties of the underlying value object.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 extendedPropertiesChange
事件。
實作
public function get extendedProperties():Object
public function set extendedProperties(value:Object):void
id | 屬性 |
isCopy | 屬性 |
protected var isCopy:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicates that the object is a copy of an existing Asset.
isNew | 屬性 |
public var isNew:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicates if this Asset is new. New Asset objects are existent purely on the client side until they are saved.
lastChangeBy | 屬性 |
lastChangeBy:String
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The lastChangeBy property of the underlying value object.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 fetchComplete
事件。
實作
public function get lastChangeBy():String
public function set lastChangeBy(value:String):void
name | 屬性 |
oldId | 屬性 |
protected var oldId:String
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Id of the Asset which was cloned to create this copy. This is applicable only when this Asset is a copy of an existing Asset.
preferencesManager | 屬性 |
protected var preferencesManager:PreferencesManager
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
To manage user preferences for category, subcategory and data dictionary.
state | 屬性 |
subCategory | 屬性 |
subCategory:Category
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The Sub-Category of the underlying value object.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 categoryChange
事件。
實作
public function get subCategory():Category
public function set subCategory(value:Category):void
version | 屬性 |
version:int
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The version of the underlying value object.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 fetchComplete
事件。
實作
public function get version():int
public function set version(value:int):void
vo | 屬性 |
vo:*
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The value object which this asset domain object is built atop. The type of the value object corresponds to the type of the domain object.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 valueObjectChange
事件。
實作
public function get vo():*
public function set vo(value:any):void
save | () | 方法 |
public function save():void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Saves the user edits for any asset.
fetchComplete | 事件 |
flash.events.Event
屬性 Event.type =
flash.events.Event
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Dispatched when this Asset is completely fetched from the server. Assets are often kept shallow in the Asset Manager and fetched completely only when necessary. The fetchComplete event is dispatched when the Asset has been retrieved completely from the server.
Tue Jun 12 2018, 03:47 PM Z