| Package | potomac.ui |
| Class | public class SelectionEvent |
| Inheritance | SelectionEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| partReference : PartReference [read-only]
The reference to the part whose selection changed. | SelectionEvent | ||
| selection : Array [read-only]
The new selection. | SelectionEvent | ||
| Method | Defined By | ||
|---|---|---|---|
SelectionEvent(type:String, partRef:PartReference, selection:Array)
Callers should not create SelectionEvent instances. | SelectionEvent | ||
clone():Event [override] | SelectionEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| SELECTION_CHANGED : String = partSelectionChanged [static]
The SelectionEvent.SELECTION_CHANGED constant defines the value of the
type property of the event object
for a partSelectionChanged event. | SelectionEvent | ||
| partReference | property |
partReference:PartReference [read-only] The reference to the part whose selection changed.
public function get partReference():PartReference| selection | property |
selection:Array [read-only] The new selection. Potomac ensures the selection is never null. If the selection is empty, or if the part set its selection to null, Potomac will set the selection to an empty array.
public function get selection():Array| SelectionEvent | () | Constructor |
public function SelectionEvent(type:String, partRef:PartReference, selection:Array)Callers should not create SelectionEvent instances.
Parameterstype:String | |
partRef:PartReference | |
selection:Array |
| clone | () | method |
override public function clone():EventReturnsEvent |
| SELECTION_CHANGED | Constant |
public static const SELECTION_CHANGED:String = partSelectionChanged
The SelectionEvent.SELECTION_CHANGED constant defines the value of the
type property of the event object
for a partSelectionChanged event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
partReference | The reference of the part whose changed. |
selection | The part's new selection. |