Справочник по ActionScript® 3.0 для платформы Adobe® Flash®
Домашняя страница  |  Скрыть список пакетов и классов |  Пакеты  |  Классы  |  Что нового  |  Указатель  |  Приложения  |  Почему по-английски?
Фильтры: Получение данных с сервера...
Получение данных с сервера...
com.adobe.guides.control 

IGuideData  - AS3 ADEP Guides

Пакет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

The IGuideData interface provides properties and methods which allow interaction with the guide's Data content. Setting (retieving) the guide's source for data, retrieving the guide's current data as xml or draft, or retieving a particular guide objects current value.



Общедоступные свойства
 СвойствоОпределено
  dataSource : Object
Returns the dataSource object provided.
IGuideData
  submitRequestTimestamp : Date
[только для чтения] Returns the timestamp of the most recent submit request.
IGuideData
Общедоступные методы
 МетодОпределено
  
getData(type:String = "xml"):Object
The getData(type) method returns the data as an XML Object(default), or an Entity object if given type='entity'.
IGuideData
  
getValue(dataReference:String):*
The getValue(dataReference) method returns the data value from the model item referenced as the model's object type.
IGuideData
  
setValue(dataReference:String, value:*):void
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.





[ X ]Почему по-английски?
Содержимое Справочника ActionScript 3.0 отображается на английском языке

Не все части Справочника ActionScript 3.0 переводятся на все языки. Если какой-то текстовый элемент не переведен, он отображается на английском языке. Например, компонент ga.controls.HelpBox не переведен ни на один из языков. Это значит, что в русской версии справки компонент ga.controls.HelpBox будет отображаться на английском языке.