| Package | flare.vis.events |
| Class | public class SelectionEvent |
| Inheritance | SelectionEvent DataEvent flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
| altKey : Boolean Indicates whether the Alt key is active (
true)
or inactive (false). | SelectionEvent | ||
| cause : MouseEvent [read-only] The event that triggered this event, if any.
| SelectionEvent | ||
| ctrlKey : Boolean Indicates whether the Control key is active (
true)
or inactive (false). | SelectionEvent | ||
![]() | edge : EdgeSprite
The first element in the event list as an EdgeSprite.
| DataEvent | |
![]() | item : DataSprite
The first element in the event list as a DataSprite.
| DataEvent | |
![]() | items : Array The list of effected data items.
| DataEvent | |
![]() | length : int The number of items in this data event.
| DataEvent | |
![]() | list : DataList
The data list (if any) the items belong to.
| DataEvent | |
![]() | node : NodeSprite
The first element in the event list as a NodeSprite.
| DataEvent | |
![]() | object : Object The first element in the event list as an Object.
| DataEvent | |
| shiftKey : Boolean Indicates whether the Shift key is active (
true)
or inactive (false). | SelectionEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
SelectionEvent(type:String, items:MouseEvent, e:* = null)
Creates a new SelectionEvent.
| SelectionEvent | ||
|
clone():Event
| SelectionEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
![]() | ADD : String = "add" [static] A data added event.
| DataEvent | |
| DESELECT : String = "deselect" [static] A deselection event.
| SelectionEvent | ||
![]() | REMOVE : String = "remove" [static] A data removed event.
| DataEvent | |
| SELECT : String = "select" [static] A selection event.
| SelectionEvent | ||
![]() | UPDATE : String = "update" [static] A data updated event.
| DataEvent | |
| altKey | property |
public var altKey:Boolean Indicates whether the Alt key is active (true)
or inactive (false).
| cause | property |
cause:MouseEvent [read-only]The event that triggered this event, if any.
Implementation public function get cause():MouseEvent
| ctrlKey | property |
public var ctrlKey:Boolean Indicates whether the Control key is active (true)
or inactive (false). On Macintosh computers, you must
use this property to represent the Command key.
| shiftKey | property |
public var shiftKey:Boolean Indicates whether the Shift key is active (true)
or inactive (false).
| SelectionEvent | () | constructor |
public function SelectionEvent(type:String, items:MouseEvent, e:* = null)Creates a new SelectionEvent.
Parameterstype:String — the event type (SELECT or DESELECT)
|
|
items:MouseEvent — the display object(s) that were selected or deselected
|
|
e:* (default = null) — (optional) the MouseEvent that triggered the selection
|
| clone | () | method |
public override function clone():EventReturns
Event |
| DESELECT | constant |
public static const DESELECT:String = "deselect"A deselection event.
| SELECT | constant |
public static const SELECT:String = "select"A selection event.