The DataBoxChangeEvent class represents the event object
passed to the event listener when one of the properties of
an data box has changed, and provides information about the change.
public function DataBoxChangeEvent(kind:String, data:IData = null, datas:Array = null, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor.
Parameters | kind:String — Event kind of this event.
|
|
| data:IData (default = null ) — related data object of this event.
|
|
| datas:Array (default = null ) — related data array of this event.
|
|
| bubbles:Boolean (default = false ) — whether bubble up this event.
|
|
| cancelable:Boolean (default = false ) — whether this event can be canceled.
|
override public function clone():Event
Returnspublic static const ADD:String = add
Defines the event kind to indicate data object has been added into the data box.
public static const CLEAR:String = clear
Defines the event kind to indicate data box has just been cleared.
public static const REMOVE:String = remove
Defines the event kind to indicate data object has just been removed from this data box.
Thu Jun 30 2011, 03:49 PM +08:00