Package | impression.events |
Class | public class LessonMapViewerEvent |
Inheritance | LessonMapViewerEvent ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | node : TreeNode [read-only]
The node associated with the event. | TreeViewEvent | |
reason : String [override] [read-only]
Indicates why the event occurred. | LessonMapViewerEvent | ||
sb : Storyboard [read-only]
The Storyboard object associated with the selected node. | LessonMapViewerEvent | ||
sbid : String [read-only]
The sbid property of the Storyboard object associated with the selected node. | LessonMapViewerEvent |
Method | Defined By | ||
---|---|---|---|
LessonMapViewerEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, reason:String = null, node:TreeNode = null, sb:Storyboard = null)
Creates a new instance of a LessonMapViewerEvent object. | LessonMapViewerEvent | ||
clone():Event [override]
Duplicates an instance of the event object. | LessonMapViewerEvent | ||
toString():String [override]
Returns a string containing all the properties of the LessonMapViewerEvent object. | LessonMapViewerEvent |
Constant | Defined By | ||
---|---|---|---|
![]() | COLLAPSE : String = treeviewCollapse [static]
The TreeViewEvent.COLLAPSE constant defines the value of the
type property of a TreeView collapse event object. | TreeViewEvent | |
![]() | EXPAND : String = treeviewExpand [static]
The TreeViewEvent.EXPAND constant defines the value of the
type property of an TreeView expand event object. | TreeViewEvent | |
LOAD_COMPLETE : String = lessonMapViewerLoadComplete [static]
The LessonMapViewerEvent.LOAD_COMPLETE constant defines the value of the
type property of a lesson map viewer load complete event object. | LessonMapViewerEvent | ||
![]() | SELECT : String = treeviewSelect [static]
The TreeViewEvent.SELECT constant defines the value of the
type property of a TreeView select event object. | TreeViewEvent | |
SELECTED : String = lessonMapViewerSelected [static]
The LessonMapViewerEvent.SELECTED constant defines the value of the
type property of a lesson map viewer selected event object. | LessonMapViewerEvent |
reason | property |
reason:String
[read-only] [override]
Indicates why the event occurred. When dispatched by the LessonMapViewer, this value will be
one of the LessonMapViewerEventReasons
constant values.
public function get reason():String
sb | property |
sb:Storyboard
[read-only] The Storyboard object associated with the selected node.
public function get sb():Storyboard
sbid | property |
sbid:String
[read-only]
The sbid
property of the Storyboard object associated with the selected node.
If sb
is null
, the property value is the empty string ("").
public function get sbid():String
LessonMapViewerEvent | () | Constructor |
public function LessonMapViewerEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, reason:String = null, node:TreeNode = null, sb:Storyboard = null)
Creates a new instance of a LessonMapViewerEvent object.
Parameterstype:String — The type of the event. Event listeners can access this information through the inherited type property.
| |
bubbles:Boolean (default = false ) — Determines whether the event object participates in the bubbling phase of the event flow. Event listeners can access this information through the inheritied bubbles property.
| |
cancelable:Boolean (default = false ) — Determines whether the event object can be canceled. Event listeners can access this information through the inherited cancelable property.
| |
reason:String (default = null ) — Indicates why the event occurred. Event listeners can access this information through the inherited reason property.
| |
node:TreeNode (default = null ) — The node associated with the event. Event listeners can access this information through the inherited node property.
| |
sb:Storyboard (default = null ) — The Storyboard object associated with the selected node. Event listeners can access this information through the sb property.
|
clone | () | method |
override public function clone():Event
Duplicates an instance of the event object.
Returns a new LessonMapViewerEvent object that is a copy of the original instance of the LessonMapViewerEvent object.
You do not normally call clone()
; the EventDispatcher class calls it automatically when you redispatch
an event--that is, when you call dispatchEvent(event)
from a handler that is handling event
.
Event — A new LessonMapViewerEvent object that is identical to the original.
|
toString | () | method |
override public function toString():String
Returns a string containing all the properties of the LessonMapViewerEvent object. The string is in the following format:
[LessonMapViewerEvent type=value bubbles=value cancelable=value eventPhase=value sb=value]
String — A string containing all the properties of the LessonMapViewerEvent object.
|
LOAD_COMPLETE | Constant |
public static const LOAD_COMPLETE:String = lessonMapViewerLoadComplete
The LessonMapViewerEvent.LOAD_COMPLETE constant defines the value of the type property of a lesson map viewer load complete event object. This event has the following properties:
Property | Value |
---|---|
bubbles | false |
cancelable | false ; there is no default behavior to cancel. |
currentTarget | The object that is actively processing the Event object with an event listener. |
target | The object that raised the event. |
reason | Indicates why the event occurred. |
node | The node associated with the event. |
sb | The Storyboard object associated with the selected node. |
SELECTED | Constant |
public static const SELECTED:String = lessonMapViewerSelected
The LessonMapViewerEvent.SELECTED constant defines the value of the type property of a lesson map viewer selected event object. This event has the following properties:
Property | Value |
---|---|
bubbles | false |
cancelable | false ; there is no default behavior to cancel. |
currentTarget | The object that is actively processing the Event object with an event listener. |
target | The object that raised the event. |
reason | |
node | |
sb | The Storyboard object associated with the selected node. |