org.xwiki.gwt.dom.client
Class Window

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by org.xwiki.gwt.dom.client.JavaScriptObject
          extended by org.xwiki.gwt.dom.client.Window

public class Window
extends JavaScriptObject

A browser window, displaying a DOM Document.

Version:
$Id$

Constructor Summary
protected Window()
          Default constructor.
 
Method Summary
static Window get()
          Gets the default window.
 Document getDocument()
           
 void stop()
          Stop this window from loading its document.
 
Methods inherited from class org.xwiki.gwt.dom.client.JavaScriptObject
fromJson, get, getKeys, remove, set, typeOf
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Window

protected Window()
Default constructor. Needs to be protected because all instances are created from JavaScript.

Method Detail

get

public static Window get()
Gets the default window. This is the window displaying the document in which the module is running.

Returns:
the default window

getDocument

public final Document getDocument()
Returns:
a reference to the document that this window contains

stop

public final void stop()
Stop this window from loading its document.



Copyright © 2004-2012 XWiki. All Rights Reserved.