PowerSlide.CueTrack Class Reference

Detailed Description

A cue track. These signal pause points. Each time a pause occurs, you must use element.cue() to start it back up again.

Inheritance diagram for PowerSlide.CueTrack:
PowerSlide.Track Dom.EventTarget Dom.IEventTarget

Public Member Functions

 CueTrack ()
 
override Slide createSlide ()
 Creates a slide of the correct type for this track. More...
 
- Public Member Functions inherited from PowerSlide.Track
 Track ()
 
SlideEvent createEvent (string type)
 Creates an event relative to this track. Prepends "slides" to the given type. More...
 
SlideEvent createRawEvent (string type)
 Creates an event relative to this track. Type is 'as-is'. More...
 
virtual void load (JSObject json, JSObject header)
 Loads a track from some JSON data with an optional header. More...
 
- Public Member Functions inherited from Dom.EventTarget
void ClearEvents ()
 Clears all events on this document. More...
 
bool dispatchEvent (Event e)
 Runs an event of the given name. More...
 
void addEventListener (string name, EventListener listener)
 Adds an event listener to this document. More...
 
void addEventListener (string name, EventListener listener, bool useCapture)
 Adds an event listener to this document. More...
 
void removeEventListener (string name, object evtHandlerInternal)
 Removes an event listener from this document. More...
 
void addEventListener (string name, AnimationEventDelegate method)
 
void addEventListener (string name, AudioProcessingEventDelegate method)
 
void addEventListener (string name, BeforeInputEventDelegate method)
 
void addEventListener (string name, BeforeUnloadEventDelegate method)
 
void addEventListener (string name, BlobEventDelegate method)
 
void addEventListener (string name, ClipboardEventDelegate method)
 
void addEventListener (string name, CloseEventDelegate method)
 
void addEventListener (string name, CompositionEventDelegate method)
 
void addEventListener (string name, CustomEventDelegate method)
 
void addEventListener (string name, CSSFontFaceLoadEventDelegate method)
 
void addEventListener (string name, DeviceLightEventDelegate method)
 
void addEventListener (string name, DeviceMotionEventDelegate method)
 
void addEventListener (string name, DeviceOrientationEventDelegate method)
 
void addEventListener (string name, DeviceProximityEventDelegate method)
 
void addEventListener (string name, DomEventDelegate method)
 
void addEventListener (string name, DOMTransactionEventDelegate method)
 
void addEventListener (string name, DragEventDelegate method)
 
void addEventListener (string name, EditingBeforeInputEventDelegate method)
 
void addEventListener (string name, ErrorEventDelegate method)
 
void addEventListener (string name, FetchEventDelegate method)
 
void addEventListener (string name, FocusEventDelegate method)
 
void addEventListener (string name, GamepadEventDelegate method)
 
void addEventListener (string name, HashChangeEventDelegate method)
 
void addEventListener (string name, IDBVersionChangeEventDelegate method)
 
void addEventListener (string name, InputEventDelegate method)
 
void addEventListener (string name, KeyboardEventDelegate method)
 
void addEventListener (string name, MediaStreamEventDelegate method)
 
void addEventListener (string name, MessageEventDelegate method)
 
void addEventListener (string name, MouseEventDelegate method)
 
void addEventListener (string name, MutationEventDelegate method)
 
void addEventListener (string name, OfflineAudioCompletionEventDelegate method)
 
void addEventListener (string name, PageTransitionEventDelegate method)
 
void addEventListener (string name, PointerEventDelegate method)
 
void addEventListener (string name, PopStateEventDelegate method)
 
void addEventListener (string name, ProgressEventDelegate method)
 
void addEventListener (string name, RelatedEventDelegate method)
 
void addEventListener (string name, RTCDataChannelEventDelegate method)
 
void addEventListener (string name, RTCIdentityErrorEventDelegate method)
 
void addEventListener (string name, RTCIdentityEventDelegate method)
 
void addEventListener (string name, RTCPeerConnectionIceEventDelegate method)
 
void addEventListener (string name, SensorEventDelegate method)
 
void addEventListener (string name, StorageEventDelegate method)
 
void addEventListener (string name, TextEventDelegate method)
 
void addEventListener (string name, TimeEventDelegate method)
 
void addEventListener (string name, TouchEventDelegate method)
 
void addEventListener (string name, TrackEventDelegate method)
 
void addEventListener (string name, TransitionEventDelegate method)
 
void addEventListener (string name, UIEventDelegate method)
 
void addEventListener (string name, UserProximityEventDelegate method)
 
void addEventListener (string name, WebGLContextEventDelegate method)
 
void addEventListener (string name, WheelEventDelegate method)
 
void addEventListener (string name, Nitro.DynamicMethod< Nitro.Void > listener)
 
void addEventListener (string name, Nitro.DynamicMethod< Nitro.Void > listener, bool capture)
 
void addEventListener (string name, ContextEventDelegate method)
 
void addEventListener (string name, SlideEventDelegate method)
 
void addEventListener (string name, PowerUI.SpriteEventDelegate method)
 
void addEventListener (string name, SVGEventDelegate method)
 Adds an event listener to this document. More...
 
void addEventListener (string name, SVGZoomEventDelegate method)
 

Properties

override string tagName [get]
 The name of this type of track. "style" and "dialogue" are common examples. More...
 
- Properties inherited from PowerSlide.Track
float definedDuration [get]
 The defined duration. More...
 
virtual string tagName [get]
 The name of this type of track. "style" and "dialogue" are common examples. More...
 
bool loaded [get]
 True if this tracks data has been setup. More...
 
- Properties inherited from Dom.EventTarget
static DispatchStack dispatchStackRef [get]
 The active dispatch stack. Use event.deepPath to access it (available during dispatch only). More...
 
virtual EventTarget eventTargetParentNode [get]
 The parent node as used by EventTarget during capture. Can be null. More...
 
virtual NodeList eventTargetChildren [get]
 The childNode set as used by EventTarget during capture. Can be null. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from PowerSlide.Track
static Track LoadFromJson (Timeline timeline, JSObject json)
 Loads a track from the given track data. More...
 
- Public Attributes inherited from PowerSlide.Track
int currentSlide =-1
 Whilst a track is progressing, this is the current slide index that it's at. More...
 
Timeline timeline
 The timeline that this track originated from. More...
 
int id
 A globally unique ID. More...
 
Slide[] slides
 The slides which appear one after the other whilst this track is running. More...
 
JSObject rawJson
 The json the track originated from. NOTE: Only set if OnLoad is not null. More...
 
- Protected Member Functions inherited from Dom.EventTarget
GetFirstDelegate< T > (string name)
 Gets the first delegate event handler for the given event name. More...
 
virtual bool HandleLocalEvent (Event e, bool bubblePhase)
 Handles triggering event handlers here. Elements can (and in PowerUI's case, do) override this. PowerUI overrides it to handle e.g. onclick="" attributes too. More...
 
- Package Functions inherited from PowerSlide.Track
virtual void OnStart ()
 
void SetStartAndDuration (float length)
 Updates the computedStart and computedDuration values. More...
 
- Static Package Attributes inherited from Dom.EventTarget
static DispatchStack PooledStack
 The current head of the pooled dispatched stacks. More...
 
- Events inherited from PowerSlide.Track
static SlideEventDelegate OnLoad
 Use this and partial class extensions to add custom info loaded from JSON. More...
 

Constructor & Destructor Documentation

PowerSlide.CueTrack.CueTrack ( )
inline

Member Function Documentation

override Slide PowerSlide.CueTrack.createSlide ( )
inlinevirtual

Creates a slide of the correct type for this track.

Reimplemented from PowerSlide.Track.

Property Documentation

override string PowerSlide.CueTrack.tagName
get

The name of this type of track. "style" and "dialogue" are common examples.