Packagetwaver
Classpublic class DataBoxChangeEvent
InheritanceDataBoxChangeEvent Inheritance flash.events.Event

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 Properties
 PropertyDefined By
  data : IData
DataBoxChangeEvent
  datas : Array
DataBoxChangeEvent
  kind : String
DataBoxChangeEvent
Public Methods
 MethodDefined By
  
DataBoxChangeEvent(kind:String, data:IData = null, datas:Array = null, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor.
DataBoxChangeEvent
  
clone():Event
[override]
DataBoxChangeEvent
Public Constants
 ConstantDefined By
  ADD : String = add
[static] Defines the event kind to indicate data object has been added into the data box.
DataBoxChangeEvent
  CLEAR : String = clear
[static] Defines the event kind to indicate data box has just been cleared.
DataBoxChangeEvent
  REMOVE : String = remove
[static] Defines the event kind to indicate data object has just been removed from this data box.
DataBoxChangeEvent
Property Detail
dataproperty
public var data:IData

datasproperty 
public var datas:Array

kindproperty 
public var kind:String

Constructor Detail
DataBoxChangeEvent()Constructor
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.
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
ADDConstant
public static const ADD:String = add

Defines the event kind to indicate data object has been added into the data box.

CLEARConstant 
public static const CLEAR:String = clear

Defines the event kind to indicate data box has just been cleared.

REMOVEConstant 
public static const REMOVE:String = remove

Defines the event kind to indicate data object has just been removed from this data box.