Packagetwaver
Classpublic class SelectionChangeEvent
InheritanceSelectionChangeEvent Inheritance flash.events.Event

This event wraps the change information that the selection of a data box has been changed. Listeners can monitoring this event to know the data selection change event and do some extra behaviour.



Public Properties
 PropertyDefined By
  datas : Array
The involved data of this event.
SelectionChangeEvent
  kind : String
Event kind of this event.
SelectionChangeEvent
Public Methods
 MethodDefined By
  
SelectionChangeEvent(kind:String, datas:Array = null, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor.
SelectionChangeEvent
  
clone():Event
[override]
SelectionChangeEvent
Public Constants
 ConstantDefined By
  ALL : String = all
[static] Event kind indicates all data of this data box has been selected.
SelectionChangeEvent
  APPEND : String = append
[static] Event kind indicates one or more data has just been selected and appended into the selection model.
SelectionChangeEvent
  CLEAR : String = clear
[static] Event kind indicates all selected data has just been set to unselected status.
SelectionChangeEvent
  REMOVE : String = remove
[static] Event kind indicates one or more data has just been unselected and removed from the selection model.
SelectionChangeEvent
  SET : String = set
[static] Event kind indicates one data has just been set to selected status.
SelectionChangeEvent
Property Detail
datasproperty
public var datas:Array

The involved data of this event.

kindproperty 
public var kind:String

Event kind of this event.

Constructor Detail
SelectionChangeEvent()Constructor
public function SelectionChangeEvent(kind:String, datas:Array = null, bubbles:Boolean = false, cancelable:Boolean = false)

Constructor. Create a selection change event by specified parameters.

Parameters
kind:String — event kind of this selection change event.
 
datas:Array (default = null) — all involved data of this selection change event.
 
bubbles:Boolean (default = false) — whether need to bubble this event up in the component hierarchy.
 
cancelable:Boolean (default = false) — whether this event can be canceled.
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
ALLConstant
public static const ALL:String = all

Event kind indicates all data of this data box has been selected. This can be done by pressing key "ctrl+a".

APPENDConstant 
public static const APPEND:String = append

Event kind indicates one or more data has just been selected and appended into the selection model.

CLEARConstant 
public static const CLEAR:String = clear

Event kind indicates all selected data has just been set to unselected status. Selection model will be cleared.

REMOVEConstant 
public static const REMOVE:String = remove

Event kind indicates one or more data has just been unselected and removed from the selection model.

SETConstant 
public static const SET:String = set

Event kind indicates one data has just been set to selected status. Old selection will be cleared.