Windows.FloatingWindow Class Reference

Detailed Description

A floating window is a classic desktop style 'window'. It resizes, has a title bar, a close button, scrolls when it overflows etc.

Inheritance diagram for Windows.FloatingWindow:
Windows.Window Windows.WindowGroup Dom.EventTarget Dom.IEventTarget

Properties

override int Depth [get]
 The depth that this type of window lives at. More...
 
- Properties inherited from Windows.Window
int Index [get, set]
 Index in managers array. More...
 
HtmlDocument document [get]
 The document this window is in. More...
 
Window backSameDepth [get]
 The window at the back and same depth as this one. More...
 
Window previousSameDepth [get]
 The window before this one (further back) of the same type. More...
 
Window frontSameDepth [get]
 The window at the front and same depth as this one. More...
 
Window nextSameDepth [get]
 The window after this one (further forward) of the same type. More...
 
virtual StackMode StackMode [get]
 True if these windows stack. More...
 
virtual int Depth [get]
 The depth that this type of window lives at. More...
 
HtmlElement TitleElement [get]
 An element with the '-spark-title' attribute. More...
 
- Properties inherited from Windows.WindowGroup
HtmlDocument WindowHostDocument [get]
 The doc that hosts child windows. More...
 
HtmlElement WindowHostElement [get]
 An element to parent child windows to. 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

- Public Member Functions inherited from Windows.Window
void close ()
 Closes the window and its kids. More...
 
void sendBackward ()
 Sends this window to the back. More...
 
void sendToBack ()
 Sends this window to the back. More...
 
void bringForward ()
 Moves this window forward one place. More...
 
void bringToFront ()
 Brings this window to the front. More...
 
void Visibility (bool visible, Window hidBy)
 Hides/ shows the window (without actually closing it). More...
 
void trigger (string name)
 Triggers a 'window{name}' event in the root document. More...
 
void trigger (string name, Dictionary< string, object > globals)
 Triggers a '{name}' event on the window itself, and optionally on the source element. More...
 
HtmlElement GetAnchor (Dictionary< string, object > globals)
 The anchor element that triggered a window to open. Null if there wasn't one. More...
 
Window GetVisibleWindow ()
 When a window hides another, it may result in a linked list of hidden windows. This essentially finds the front of the linked list. More...
 
UnityEngine.Color GetColour (string name, Dictionary< string, object > globals, UnityEngine.Color defaultValue)
 Gets a global of the given name as a colour. More...
 
int GetInteger (string name, Dictionary< string, object > globals, int defaultValue)
 Gets a global of the given name as an integer. More...
 
double GetDecimal (string name, Dictionary< string, object > globals, double defaultValue)
 Gets a global of the given name as a decimal. More...
 
Get< T > (string name, Dictionary< string, object > globals)
 Gets a global of the given name. More...
 
void SetHtml (string html)
 Writes the windows HTML now. Collects element and optionally an iframe. More...
 
virtual void Load (string url, Dictionary< string, object > globals)
 Loads the contents of this window now. More...
 
- Static Public Member Functions inherited from Windows.Window
static void Cue (PowerUI.MouseEvent me)
 Cues dialogue within a window. More...
 
static void CloseThis (UIEvent e)
 Closes the window that the given event originated from. More...
 
- Public Attributes inherited from Windows.WindowGroup
Manager Manager
 The window manager. More...
 
WindowGroup Parent
 The parent group, if any. More...
 
List< WindowWindows =new List<Window>()
 All active windows, sorted by depth. More...
 
- Protected Member Functions inherited from Windows.Window
override bool HandleLocalEvent (Dom.Event e, bool bubblePhase)
 Handles events on the window itself. More...
 
virtual void OnEvent (Dom.Event e)
 Called when the window receives an event. More...
 
virtual void OnClose ()
 Called when the window is closing. More...
 
void AddStyle ()
 Adds style if it was required. More...
 
- Package Functions inherited from Windows.Window
virtual void Goto (string url, Dictionary< string, object > globals)
 Navigates the window to the given URL. Should only be used once; close and open another window (or use links inside the iframe). More...
 
- Package Attributes inherited from Windows.Window
string Type
 The window type. E.g. "floating". More...
 
int ActiveDepth
 This windows actual depth. More...
 
string Location
 The location of this window. More...
 
HtmlElement element
 The root element which contains this window. All templates must have one root only (watch out for comments and text!). More...
 
HtmlElement frame
 The iframe. May be null. More...
 
Window HidWindow
 If this window is in the 'hide other' stacking mode, this is the window it hid. More...
 
Window HidBy
 If this window is hidden, the one that hid it. More...
 
HtmlDocument contentDocument
 The document to load content into. May be null. More...
 
- Static Package Attributes inherited from Dom.EventTarget
static DispatchStack PooledStack
 The current head of the pooled dispatched stacks. More...
 

Property Documentation

override int Windows.FloatingWindow.Depth
get

The depth that this type of window lives at.