|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
org.cruxframework.crux.core.client.screen.JSWindow
public class JSWindow
A Window JavaScriptObject. Useful for accessing foreign native JS objects and functions.
| Constructor Summary | |
|---|---|
protected |
JSWindow()
Obeying to GWT JSNI restrictions |
| Method Summary | |
|---|---|
void |
changeLocation(String newURL)
Changes the location of the window |
static JSWindow |
currentWindow()
Returns the current window native object; |
static JSWindow |
getAbsoluteTop()
Returns the topmost window native object. |
static String |
getLocation(JSWindow jsWindow)
Gets the URL of the given window. |
static JSWindow |
getParentWindow(JSWindow jsWindow)
Gets the parent of the given window, if it exists. |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected JSWindow()
| Method Detail |
|---|
public static JSWindow currentWindow()
public static JSWindow getAbsoluteTop()
public final void changeLocation(String newURL)
newURL - public static final JSWindow getParentWindow(JSWindow jsWindow)
jsWindow - public static final String getLocation(JSWindow jsWindow)
jsWindow -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||