套件 | com.adobe.guides.control |
介面 | public interface IGuideData |
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
屬性 | 定義自 | ||
---|---|---|---|
dataSource : Object
Returns the dataSource object provided. | IGuideData | ||
submitRequestTimestamp : Date [唯讀]
Returns the timestamp of the most recent submit request. | IGuideData |
方法 | 定義自 | ||
---|---|---|---|
The getData(type) method returns the data as an XML Object(default), or an Entity object if given type='entity'. | IGuideData | ||
The getValue(dataReference) method returns the data value from the model item referenced as the model's object type. | IGuideData | ||
The setValue(dataReference, value) method updates the model item data referenced with the provided value. | IGuideData |
dataSource | 屬性 |
dataSource:Object
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
Returns the dataSource object provided. Sets and loads the given data. Can be any of XML, xml String, url or Entity object.
實作
public function get dataSource():Object
public function set dataSource(value:Object):void
submitRequestTimestamp | 屬性 |
submitRequestTimestamp:Date
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
Returns the timestamp of the most recent submit request.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get submitRequestTimestamp():Date
getData | () | 方法 |
public function getData(type:String = "xml"):Object
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
The getData(type) method returns the data as an XML Object(default), or an Entity object if given type='entity'. ("entity" returns Fiber or XFA instance actionscript class).
參數
type:String (default = "xml ") — the format to retreive the data in, default is "xml".
"draft" returns an XML file that includes state information. Loading that xml later will return the guide to the state at that time.
"entity" returns the DataModeler Entity valueObject.
|
Object — Object
|
getValue | () | 方法 |
public function getValue(dataReference:String):*
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
The getValue(dataReference) method returns the data value from the model item referenced as the model's object type. Throws an exception if dataRef does not exist.
參數
dataReference:String — the fully defined reference in dot notation of the DataModel object. eg. "Clients.Client.Address.State"
|
* —
|
setValue | () | 方法 |
public function setValue(dataReference:String, value:*):void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
The setValue(dataReference, value) method updates the model item data referenced with the provided value. Throws an exception if dataRef does not exist or an incompatible value type is passed.
參數
dataReference:String — the fully defined reference in dot notation of the DataModel object. eg. "Clients.Client.Address.State"
| |
value:* — the data value to assign to the DataModel object.
|
Tue Jun 12 2018, 03:47 PM Z