Pacote | mx.controls.dataGridClasses |
Classe | public class DataGridListData |
Herança | DataGridListData BaseListData EventDispatcher Object |
Subclasses | AdvancedDataGridListData |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
listData
property that is
implemented by drop-in item renderers or drop-in item editors for the DataGrid control.
All drop-in item renderers and drop-in item editors must implement the
IDropInListItemRenderer interface, which defines the listData
property.
Although the properties of this class are writable, you should consider them to be read-only. They are initialized by the DataGrid class, and read by an item renderer or item editor. Changing these values can lead to unexpected results.
Elementos da API relacionados
Propriedades públicas
Propriedade | Definido por | ||
---|---|---|---|
columnIndex : int
The index of the column of the List-based control relative
to the currently visible columns of the control, where the first column
is at an index of 1. | BaseListData | ||
constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | Object | ||
dataField : String
Name of the field or property in the data provider associated with the column. | DataGridListData | ||
label : String
The textual representation of the item data, based on the list class's
itemToLabel() method. | BaseListData | ||
owner : IUIComponent
A reference to the list object that owns this item. | BaseListData | ||
rowIndex : int
The index of the row of the DataGrid, List, or Tree control relative
to the currently visible rows of the control, where the first row
is at an index of 1. | BaseListData | ||
uid : String
The unique identifier for this item. | BaseListData |
Métodos públicos
Método | Definido por | ||
---|---|---|---|
DataGridListData(text:String, dataField:String, columnIndex:int, uid:String, owner:IUIComponent, rowIndex:int = 0)
Constructor. | DataGridListData | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra um objeto de ouvinte de evento em um objeto EventDispatcher, de forma que o ouvinte receba a notificação de um evento. | EventDispatcher | ||
Envia um evento para o fluxo de eventos. | EventDispatcher | ||
Verifica se o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento. | EventDispatcher | ||
Indica se um objeto tem uma propriedade especificada definida. | Object | ||
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | ||
Indica se a propriedade especificada existe e é enumerável. | Object | ||
Remove um ouvinte do objeto EventDispatcher. | EventDispatcher | ||
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | ||
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | ||
Retorna a representação de string do objeto especificado. | Object | ||
Retorna o valor primitivo do objeto especificado. | Object | ||
Verifica se um ouvinte de evento está registrado nesse objeto EventDispatcher ou em qualquer um de seus ancestrais para o tipo de evento especificado. | EventDispatcher |
Eventos
Detalhes da propriedade
dataField | propriedade |
public var dataField:String
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Name of the field or property in the data provider associated with the column.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento __NoChangeEvent__
.
Detalhes do construtor
DataGridListData | () | Construtor |
public function DataGridListData(text:String, dataField:String, columnIndex:int, uid:String, owner:IUIComponent, rowIndex:int = 0)
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Constructor.
Parâmetrostext:String — Text representation of the item data.
| |
dataField:String — Name of the field or property
in the data provider associated with the column.
| |
columnIndex:int — The column index of the item in the
columns for the DataGrid control.
| |
uid:String — A unique identifier for the item.
| |
owner:IUIComponent — A reference to the DataGrid control.
| |
rowIndex:int (default = 0 ) — The index of the item in the data provider
for the DataGrid control.
|
Wed Jun 13 2018, 11:10 AM Z