PowerSlide.SlideEvent Class Reference

Detailed Description

Represents a PowerSlide event.

Inheritance diagram for PowerSlide.SlideEvent:
Dom.Event

Public Member Functions

 SlideEvent (string type, object init)
 
void open (string template, string url)
 Opens a window with the given template and URL. Globals originate from this event. Convenience method for thisEvent.document.sparkWindows.open(template,url,thisEvent.globals); More...
 
- Public Member Functions inherited from Dom.Event
 Event ()
 
 Event (string type)
 
 Event (string type, object init)
 
virtual void Reset ()
 Reset an event so it can be reused. Doesn't affect bubbles/ trusted etc. More...
 
void initEvent (string type, bool bubb, bool canc)
 used to initialize the value of an event created using Document.createEvent() More...
 
virtual void Setup (object init)
 Sets up the init dictionary. Note that it can be null. More...
 
void stopPropagation ()
 Stops the event bubbling to any other elements. More...
 
void stopImmediatePropagation ()
 Stops the event bubbling to any other elements. More...
 
EventTarget[] deepPath ()
 The deep path of this event. (Unclear working draft spec; subject to change). http://w3c.github.io/webcomponents/spec/shadow/#widl-Event-deepPath-sequence-EventTarget More...
 
void preventDefault ()
 Stops the default event handler occuring. More...
 
void initUIEvent (string type, bool canBubble, bool cancelable, PowerUI.Window view, ulong detail)
 Sets up this UIEvent. More...
 

Public Attributes

Timeline timeline_
 The current timeline. More...
 
Track track_
 The current track (group of slides). More...
 
Slide slide
 The current slide. Can be null if this is a track event. More...
 
Action action
 The current action. Can be null if this is a track/slide event. More...
 
Dictionary< string, object > globals
 An optional set of globals to pass to the target. More...
 
- Public Attributes inherited from Dom.Event
const int NONE =0
 Event phase (none). More...
 
const int CAPTURING_PHASE =1
 Event capturing phase. More...
 
const int AT_TARGET =2
 Event target phase. More...
 
const int BUBBLING_PHASE =3
 Event bubbling phase. More...
 
float clientX
 The x location of the mouse, as measured from the left of the screen. More...
 
float clientY
 The y location of the mouse, as measured from the top of the screen. More...
 
int eventPhase
 The current phase of this event. More...
 
uint Modifiers
 Modifiers such as shift. Use &x to access a particular one, where x is from e.g. EventModifierInit.MODIFIER_SHIFT_ALT_GRAPH More...
 
int keyCode
 The keycode of the key pressed. More...
 
bool heldDown
 True if the mouse button or key is currently down. More...
 
char character
 The character that has been typed. More...
 
bool bubbles =false
 True if this event bubbles or not. Doesn't bubble by default. More...
 
bool cancelable =true
 True if this event can be cancelled (from bubbling further). All are by default. More...
 
EventTarget target
 The node that was clicked on or focused. It's a node because documents generate it too. Use htmlTarget if you're sure it's a HtmlElement of some kind. More...
 
EventTarget currentTarget
 Current target of this event. More...
 

Properties

Timeline timeline [get, set]
 The current timeline. More...
 
Track track [get, set]
 The current track (group of slides). More...
 
object this[string global] [get, set]
 A convenience approach for getting/setting globals to pass through during a cue event. More...
 
PowerUI.HtmlDocument htmlDocument [get]
 The HTML document that this dialogue event originated from. More...
 
string actionID [get]
 A custom action ref. More...
 
- Properties inherited from Dom.Event
bool cancelBubble [get, set]
 Set to true if you do not want this event to bubble any further. More...
 
bool isTrusted [get]
 True if this was created by the UA. Use isTrusted. More...
 
string type [get, set]
 The type of this event. More...
 
Node srcElement [get]
 The node that was clicked on or focused. More...
 
bool defaultPrevented [get]
 True if the default has been prevented. More...
 
DateTime timeStamp [get]
 Current time of this event. More...
 
string char [get]
 The printable character if it is one. More...
 
int button [get]
 The mouse button that was pressed. See isLeftMouse and isRightMouse for clearer ways of using this value. More...
 
bool isLeftMouse [get]
 Mouseup/down only. Was it the left mouse button? More...
 
bool isRightMouse [get]
 Mouseup/down only. Was it the right mouse button? More...
 
Document document [get]
 The document that this event has come from, if any. More...
 
Windows.Window sparkWindow [get]
 The window that the currentTarget of the event is in. More...
 

Additional Inherited Members

- Package Functions inherited from Dom.Event
void SetTrusted ()
 
void SetTrusted (bool bubbles)
 
- Package Attributes inherited from Dom.Event
string EventType
 The type of this event. Only set if you directly use the UIEvent(type) constructor. See type instead. More...
 
bool _Cancelled
 True if this event has been cancelled via preventDefault. More...
 
bool _CancelImmediate
 True if this has been immediately cancelled. More...
 
bool _IsTrusted
 True if this was created by the UA. Use isTrusted. More...
 

Constructor & Destructor Documentation

PowerSlide.SlideEvent.SlideEvent ( string  type,
object  init 
)
inline

Member Function Documentation

void PowerSlide.SlideEvent.open ( string  template,
string  url 
)
inline

Opens a window with the given template and URL. Globals originate from this event. Convenience method for thisEvent.document.sparkWindows.open(template,url,thisEvent.globals);

Member Data Documentation

Action PowerSlide.SlideEvent.action

The current action. Can be null if this is a track/slide event.

Dictionary<string,object> PowerSlide.SlideEvent.globals

An optional set of globals to pass to the target.

Slide PowerSlide.SlideEvent.slide

The current slide. Can be null if this is a track event.

Timeline PowerSlide.SlideEvent.timeline_

The current timeline.

Track PowerSlide.SlideEvent.track_

The current track (group of slides).

Property Documentation

string PowerSlide.SlideEvent.actionID
get

A custom action ref.

PowerUI.HtmlDocument PowerSlide.SlideEvent.htmlDocument
get

The HTML document that this dialogue event originated from.

object PowerSlide.SlideEvent.this[string global]
getset

A convenience approach for getting/setting globals to pass through during a cue event.

Timeline PowerSlide.SlideEvent.timeline
getset

The current timeline.

Track PowerSlide.SlideEvent.track
getset

The current track (group of slides).