org.atmosphere.gwt.client.extra
Class Window
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
org.atmosphere.gwt.client.extra.Window
public final class Window
- extends com.google.gwt.core.client.JavaScriptObject
- Author:
- p.havelaar
|
Constructor Summary |
protected |
Window()
|
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
Window
protected Window()
current
public static Window current()
open
public Window open(String url,
String name,
WindowFeatures features)
open
public Window open(String url,
String name,
String features)
- Opens a new browser window. The "name" and "features" arguments are
specified here.
- Parameters:
url - the URL that the new window will displayname - the name of the window (e.g. "_blank")features - the features to be enabled/disabled on this window
close
public void close()
set
public void set(String name,
boolean flag)
set
public void set(String name,
int value)
set
public void set(String name,
String value)
set
public void set(String name,
Object value)
isset
public boolean isset(String name)
getFlag
public boolean getFlag(String name)
getInt
public int getInt(String name)
throws com.google.gwt.core.client.JavaScriptException
- Throws:
com.google.gwt.core.client.JavaScriptException
getString
public String getString(String name)
throws com.google.gwt.core.client.JavaScriptException
- Throws:
com.google.gwt.core.client.JavaScriptException
getObject
public <X> X getObject(String name)
throws com.google.gwt.core.client.JavaScriptException
- Throws:
com.google.gwt.core.client.JavaScriptException
Copyright © 2012. All Rights Reserved.