Packagecom.ithaca.timeline.events
Classpublic class TimelineEvent
InheritanceTimelineEvent Inheritance flash.events.Event

Define the types of events needed by the timeline. Most of these events are dispatched by the Timeline class.

There's only one property 'value' which changes according to the type of the event :

  1. TIMERULER_CLICK : 'value' contains the time in milliseconds where the user clicked
  2. GENERATE_NEW_TRACELINE : 'value' is an Object with 3 properties : { generator, obsel, traceline } where : 'generator' is the LayoutModier which just created a Traceline, 'traceline' the new traceline, and 'obsel' is the obsel by which the creation has been triggerered.
  3. LAYOUT_NODE_ADDED : 'value' is the new added LayoutNode
In the other cases, 'value' is not used.

See also

com.ithaca.timeline.Timeline


Public Properties
 PropertyDefined By
  value : *
TimelineEvent
Public Methods
 MethodDefined By
  
TimelineEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
TimelineEvent
  
clone():Event
[override]
TimelineEvent
  
toString():String
[override]
TimelineEvent
Public Constants
 ConstantDefined By
  CURRENT_TIME_CHANGE : String = currentTimeChange
[static]
TimelineEvent
  END_ALERT : String = endAlert
[static]
TimelineEvent
  END_REACHED : String = endReached
[static]
TimelineEvent
  GENERATE_NEW_TRACELINE : String = generateNewTraceline
[static]
TimelineEvent
  LAYOUT_CHANGE : String = layout_change
[static]
TimelineEvent
  LAYOUT_NODE_ADDED : String = layoutNodeAdded
[static]
TimelineEvent
  PAUSE : String = pauseButtonClick
[static]
TimelineEvent
  PLAY : String = playButtonClick
[static]
TimelineEvent
  PRE_ADD_COMMENT_OBSEL : String = preAddCommentObsel
[static]
TimelineEvent
  TIMERANGES_CHANGE : String = timeranges_change
[static]
TimelineEvent
  TIMERANGES_SHIFT : String = timeranges_shift
[static]
TimelineEvent
  TIMERULER_CLICK : String = timeRulerClick
[static]
TimelineEvent
  TIMES_CHANGE : String = times_change
[static]
TimelineEvent
  TRACE_LINE_TITLE_ADDED : String = traceLineTitleAdded
[static]
TimelineEvent
  ZOOM_CONTEXT_MANUAL_CHANGE : String = zoomContextManualChange
[static]
TimelineEvent
Property Detail
valueproperty
public var value:*

Constructor Detail
TimelineEvent()Constructor
public function TimelineEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)



Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
toString()method 
override public function toString():String

Returns
String
Constant Detail
CURRENT_TIME_CHANGEConstant
public static const CURRENT_TIME_CHANGE:String = currentTimeChange

END_ALERTConstant 
public static const END_ALERT:String = endAlert

END_REACHEDConstant 
public static const END_REACHED:String = endReached

GENERATE_NEW_TRACELINEConstant 
public static const GENERATE_NEW_TRACELINE:String = generateNewTraceline

LAYOUT_CHANGEConstant 
public static const LAYOUT_CHANGE:String = layout_change

LAYOUT_NODE_ADDEDConstant 
public static const LAYOUT_NODE_ADDED:String = layoutNodeAdded

PAUSEConstant 
public static const PAUSE:String = pauseButtonClick

PLAYConstant 
public static const PLAY:String = playButtonClick

PRE_ADD_COMMENT_OBSELConstant 
public static const PRE_ADD_COMMENT_OBSEL:String = preAddCommentObsel

TIMERANGES_CHANGEConstant 
public static const TIMERANGES_CHANGE:String = timeranges_change

TIMERANGES_SHIFTConstant 
public static const TIMERANGES_SHIFT:String = timeranges_shift

TIMERULER_CLICKConstant 
public static const TIMERULER_CLICK:String = timeRulerClick

TIMES_CHANGEConstant 
public static const TIMES_CHANGE:String = times_change

TRACE_LINE_TITLE_ADDEDConstant 
public static const TRACE_LINE_TITLE_ADDED:String = traceLineTitleAdded

ZOOM_CONTEXT_MANUAL_CHANGEConstant 
public static const ZOOM_CONTEXT_MANUAL_CHANGE:String = zoomContextManualChange