Referência do ActionScript® 3.0 para Adobe® Flash® Platform
Início  |  Ocultar listas de Pacotes e Classes |  Pacotes  |  Classes  |  Novidades  |  Índice  |  Apêndices  |  Por que inglês?
Filtros: Recuperando dados do servidor...
Recuperando dados do servidor...
com.adobe.guides.control 

IGuideData  - AS3 ADEP Guides

Pacotecom.adobe.guides.control
Interfacepublic interface IGuideData

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Document Services - Guides 10
Versões de runtime: 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.



Propriedades públicas
 PropriedadeDefinido por
  dataSource : Object
Returns the dataSource object provided.
IGuideData
  submitRequestTimestamp : Date
[somente leitura] Returns the timestamp of the most recent submit request.
IGuideData
Métodos públicos
 MétodoDefinido por
  
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
Detalhes da propriedade

dataSource

propriedade
dataSource:Object

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Document Services - Guides 10
Versões de runtime: 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.



Implementação
    public function get dataSource():Object
    public function set dataSource(value:Object):void

submitRequestTimestamp

propriedade 
submitRequestTimestamp:Date  [somente leitura]

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Document Services - Guides 10
Versões de runtime: AIR 1.0, Flash Player 10.2

Returns the timestamp of the most recent submit request.

Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .



Implementação
    public function get submitRequestTimestamp():Date
Detalhes do método

getData

()método
public function getData(type:String = "xml"):Object

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Document Services - Guides 10
Versões de runtime: 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).

Parâmetros

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.

Retorna
Object — Object

getValue

()método 
public function getValue(dataReference:String):*

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Document Services - Guides 10
Versões de runtime: 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.

Parâmetros

dataReference:String — the fully defined reference in dot notation of the DataModel object. eg. "Clients.Client.Address.State"

Retorna
*

setValue

()método 
public function setValue(dataReference:String, value:*):void

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Document Services - Guides 10
Versões de runtime: 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.

Parâmetros

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 ]Por que inglês?
O conteúdo na Referência do ActionScript 3.0 aparece em inglês

Nem todas as partes da Referência do ActionScript 3.0 estão traduzidas em todos os idiomas. Quando um elemento de um idioma não está traduzido, ele é exibido em inglês. Por exemplo, a classe ga.controls.HelpBox não está traduzida em nenhum idioma. Por isso, na versão da referência em português do Brasil, a classe ga.controls.HelpBox é exibida em inglês.