Packageimpression.events
Classpublic class LessonMapViewerEvent
InheritanceLessonMapViewerEvent Inheritance TreeViewEvent Inheritance flash.events.Event

The LessonMapViewer object dispatches a LessonMapViewerEvent object when a lesson map related action occurs.



Public Properties
 PropertyDefined By
 Inheritednode : 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
Public Methods
 MethodDefined 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
Public Constants
 ConstantDefined By
 InheritedCOLLAPSE : String = treeviewCollapse
[static] The TreeViewEvent.COLLAPSE constant defines the value of the type property of a TreeView collapse event object.
TreeViewEvent
 InheritedEXPAND : 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
 InheritedSELECT : 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
Property Detail
reasonproperty
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.


Implementation
    public function get reason():String
sbproperty 
sb:Storyboard  [read-only]

The Storyboard object associated with the selected node.


Implementation
    public function get sb():Storyboard
sbidproperty 
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 ("").


Implementation
    public function get sbid():String
Constructor Detail
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.

Parameters
type: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.
Method Detail
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.

Returns
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]

Returns
String — A string containing all the properties of the LessonMapViewerEvent object.
Constant Detail
LOAD_COMPLETEConstant
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:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe object that is actively processing the Event object with an event listener.
targetThe object that raised the event.
reasonIndicates why the event occurred.
nodeThe node associated with the event.
sbThe Storyboard object associated with the selected node.

SELECTEDConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe object that is actively processing the Event object with an event listener.
targetThe object that raised the event.
reason
node
sbThe Storyboard object associated with the selected node.