|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.ui.browser.Window
public class Window
A copy of some of the functions from the Window DOM object on the server
| Nested Class Summary | |
|---|---|
static class |
Window.OptionBuilder
Aide to building windowFeatures strings. |
| Constructor Summary | |
|---|---|
Window()
|
|
| Method Summary | |
|---|---|
static void |
alert(java.lang.String message)
Show in an 'alert' dialog |
static void |
close()
Attempt to close this window |
static void |
confirm(java.lang.String message,
Callback<java.lang.Boolean> callback)
Show a 'confirm' dialog |
static void |
open(java.lang.String url,
java.lang.String windowName)
Open a new browser child window, pointing at given url and
identified with a given windowName. |
static void |
open(java.lang.String url,
java.lang.String windowName,
Window.OptionBuilder builder)
Open a new browser child window, pointing at given url and
identified with a given windowName. |
static void |
open(java.net.URI uri,
java.lang.String windowName)
Open a new browser child window, pointing at given uri and
identified with a given windowName. |
static void |
open(java.net.URI uri,
java.lang.String windowName,
Window.OptionBuilder builder)
Open a new browser child window, pointing at given uri and
identified with a given windowName. |
static void |
open(java.net.URL url,
java.lang.String windowName)
Open a new browser child window, pointing at given url and
identified with a given windowName. |
static void |
open(java.net.URL url,
java.lang.String windowName,
Window.OptionBuilder builder)
Open a new browser child window, pointing at given url and
identified with a given windowName. |
static void |
prompt(java.lang.String message,
Callback<java.lang.String> callback)
Show a 'prompt' dialog |
static void |
setLocation(java.lang.String newPage)
Navigate to a new page |
static void |
setLocation(java.net.URI newPage)
Navigate to a new page |
static void |
setLocation(java.net.URL newPage)
Navigate to a new page |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Window()
| Method Detail |
|---|
public static void alert(java.lang.String message)
message - The text to go into the alert box
public static void confirm(java.lang.String message,
Callback<java.lang.Boolean> callback)
message - The text to go into the alert boxcallback - The function to be called when a browser replies
public static void prompt(java.lang.String message,
Callback<java.lang.String> callback)
message - The text to go into the alert boxcallback - The function to be called when a browser repliespublic static void close()
public static void setLocation(java.net.URI newPage)
newPage - The page to navigate topublic static void setLocation(java.net.URL newPage)
newPage - The page to navigate topublic static void setLocation(java.lang.String newPage)
newPage - The page to navigate to
public static void open(java.lang.String url,
java.lang.String windowName)
url and
identified with a given windowName.
for more details
public static void open(java.net.URL url,
java.lang.String windowName)
url and
identified with a given windowName.
for more details
public static void open(java.net.URI uri,
java.lang.String windowName)
uri and
identified with a given windowName.
for more details
public static void open(java.lang.String url,
java.lang.String windowName,
Window.OptionBuilder builder)
url and
identified with a given windowName.
windowName - The window name can be one of the special values:
_blank, _parent, _self, _top.
public static void open(java.net.URL url,
java.lang.String windowName,
Window.OptionBuilder builder)
url and
identified with a given windowName.
for more details
public static void open(java.net.URI uri,
java.lang.String windowName,
Window.OptionBuilder builder)
uri and
identified with a given windowName.
for more details
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||