Package | spark.components.gridClasses |
Interface | public interface IGridItemEditor extends IDataRenderer , IVisualElement , IFocusManagerComponent , IIMESupport , ILayoutElement , ILayoutDirectionElement , IEventDispatcher |
Implementors | GridItemEditor |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.5 |
Runtime Versions: | Flash Player 10, AIR 2.5 |
All of the item editor's properties are set by the owner during
the start of the editor session.
The data
property is the last property set.
When the data
property is set, an item editor should
set the value of the editor's controls.
Next, the editor's prepare()
method is called.
IGridItemEditor implementations should override the prepare()
method
to make any final adjustments to its properties or any aspect of its visual elements.
When the editor is closing, the discard()
method is called.
When the editor is closed, the input value can be saved or canceled.
If saving, the save()
function is called by the editor
to write new values to the data provider element corresponding to the
row of the edited cell.
Related API Elements
Property | Defined By |
---|
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. | IEventDispatcher | |
![]() |
Dispatches an event into the event flow. | IEventDispatcher | |
![]() |
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | IEventDispatcher | |
![]() |
Removes a listener from the EventDispatcher object. | IEventDispatcher | |
![]() |
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | IEventDispatcher |
Wed Nov 21 2018, 06:34 AM -08:00