Detailed Description

A group of windows.

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

Public Member Functions

 WindowGroup (Manager manager)
 Creates a window group. More...
 
 WindowGroup ()
 
Window get (string type, string url)
 Gets a window of the given type and pointing at the given URL. More...
 
Window cycle (string type, string url, Dictionary< string, object > globals)
 Closes an open window or opens it if it wasn't already. More...
 
Window open (string typeName, string url, Dictionary< string, object > globals)
 Opens a window. 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)
 

Public Attributes

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...
 
- Public Attributes inherited from Dom.EventTarget
EventsSet Events
 A set of events for this document. See addEventListener. More...
 

Package Functions

void Remove (Window w)
 Removes the given window. More...
 

Properties

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...
 

Private Member Functions

void SetupWindow (Window w, string url, Dictionary< string, object > globals)
 Inserts the given window into the list of open windows and begins loading it. More...
 

Private Attributes

HtmlElement WindowHostElement_
 An element to parent child windows to. More...
 

Additional Inherited Members

- 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...
 
- Static Package Attributes inherited from Dom.EventTarget
static DispatchStack PooledStack
 The current head of the pooled dispatched stacks. More...
 

Constructor & Destructor Documentation

Windows.WindowGroup.WindowGroup ( Manager  manager)
inline

Creates a window group.

Windows.WindowGroup.WindowGroup ( )
inline

Member Function Documentation

Window Windows.WindowGroup.cycle ( string  type,
string  url,
Dictionary< string, object >  globals 
)
inline

Closes an open window or opens it if it wasn't already.

Window Windows.WindowGroup.get ( string  type,
string  url 
)
inline

Gets a window of the given type and pointing at the given URL.

Returns
Null if not found.
Window Windows.WindowGroup.open ( string  typeName,
string  url,
Dictionary< string, object >  globals 
)
inline

Opens a window.

void Windows.WindowGroup.Remove ( Window  w)
inlinepackage

Removes the given window.

void Windows.WindowGroup.SetupWindow ( Window  w,
string  url,
Dictionary< string, object >  globals 
)
inlineprivate

Inserts the given window into the list of open windows and begins loading it.

Member Data Documentation

Manager Windows.WindowGroup.Manager

The window manager.

WindowGroup Windows.WindowGroup.Parent

The parent group, if any.

HtmlElement Windows.WindowGroup.WindowHostElement_
private

An element to parent child windows to.

List<Window> Windows.WindowGroup.Windows =new List<Window>()

All active windows, sorted by depth.

Property Documentation

HtmlDocument Windows.WindowGroup.WindowHostDocument
get

The doc that hosts child windows.

HtmlElement Windows.WindowGroup.WindowHostElement
get

An element to parent child windows to.