public class JSWindow
extends com.google.gwt.core.client.JavaScriptObject
| Modifier | Constructor and Description |
|---|---|
protected |
JSWindow()
Obeying to GWT JSNI restrictions
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static JSWindow currentWindow()
public static JSWindow getAbsoluteTop()
public final void changeLocation(String newURL)
newURL - public static final JSWindow getParentWindow(JSWindow jsWindow)
jsWindow - Copyright © 2015. All rights reserved.