Package | spark.utils |
Class | public dynamic class DataItem |
Inheritance | DataItem ObjectProxy Proxy Object |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.5 |
Runtime Versions: | Flash Player 10, AIR 2.5 |
This class is intended to be used in MXML to define object literals
whose properties must be bindable.
It's typically used to define List or
DataGrid data provider items within an MXML file for small applications or examples
with item renderers that bind to their data.
Non-trival applications, or any application for which performance is a concern,
should define a [Bindable]
class with a fixed set of
strongly typed properties and use that class to define data provider items.
Public Properties
Protected Properties
Public Methods
Method | Defined By | ||
---|---|---|---|
DataItem()
Constructor
| DataItem | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object
so that the listener receives notification of an event. | ObjectProxy | ||
Dispatches an event into the event flow. | ObjectProxy | ||
Checks whether there are any event listeners registered
for a specific type of event. | ObjectProxy | ||
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 | ||
Called when a complex property is updated. | ObjectProxy | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Since Flex only uses ObjectProxy to wrap anonymous objects,
the server flex.messaging.io.ObjectProxy instance serializes itself
as a Map that will be returned as a plain ActionScript object. | ObjectProxy | ||
Removes an event listener. | ObjectProxy | ||
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 object
or any of its ancestors for the specified event type. | ObjectProxy | ||
Since Flex only serializes the inner ActionScript object that it wraps,
the server flex.messaging.io.ObjectProxy populates itself
with this anonymous object's contents and appears to the user
as a Map. | ObjectProxy |
Protected Methods
Constructor Detail
DataItem | () | Constructor |
public function DataItem()
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.5 |
Runtime Versions: | Flash Player 10, AIR 2.5 |
Constructor
Mon Nov 28 2011, 06:48 AM -08:00