|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implement this interface to receive closing events from the browser window.
Window.addWindowCloseListener(WindowCloseListener)
Method Summary | |
void |
onWindowClosed()
Fired after the browser window closes or navigates to a different site. |
java.lang.String |
onWindowClosing()
Fired just before the browser window closes or navigates to a different site. |
Method Detail |
public java.lang.String onWindowClosing()
null
to present a confirmation dialog that asks
the user whether or not she wishes to navigate away from the page.
The string returned will be displayed in the close confirmation
dialog box. If multiple listeners return messages, the first will
be displayed; all others will be ignored.public void onWindowClosed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |