Package | mx.controls.listClasses |
Class | public class BaseListData |
Inheritance | BaseListData ![]() ![]() |
Subclasses | DataGridListData, ListData, TreeListData |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
listData
property implemented by drop-in item renderers or drop-in item editors.
All drop-in item renderers and drop-in item editors must implement the
IDropInListItemRenderer interface, which defines the listData
property.
The listData
property is of type BaseListData,
where the BaseListData class has three subclasses:
DataGridListData, ListData, and TreeListData.
The actual data type of the value of the listData
property
depends on the control using the drop-in item renderer or item editor.
For a DataGrid control, the value is of type DataGridListData,
for a List control the value is of type ListData,
and for a Tree control, the value is of type TreeListData.
When used as a drop-in item renderer or drop-in item editor,
Flex sets the listData
property to a BaseListData-derived
class containing information computed about the item in the data provider
containing the data for the item.
While the properties of this class are writable, you should consider them to be read only. They are initialized by the list class, and read by an item renderer or item editor. Changing these values can lead to unexpected results.
The properties are marked bindable, but these properties
do not actually do any change detection or send change events.
The properties are changed as a whole by setting a new
value for the listData
property.
The change
event for the modification of
the listData
property updates all bindings.
Related API Elements
Property | Defined By | ||
---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object |
Method | Defined By | ||
---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | EventDispatcher | |
![]() |
Dispatches an event into the event flow. | EventDispatcher | |
![]() |
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | EventDispatcher | |
![]() |
Indicates whether an object has a specified property defined. | Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
![]() |
Removes a listener from the EventDispatcher object. | EventDispatcher | |
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object | |
![]() |
Checks whether an event listener is registered with this EventDispatcher object or any of
its ancestors for the specified event type. | EventDispatcher |
Wed Nov 21 2018, 06:34 AM -08:00