java.lang.Object | ||
↳ | com.google.gwt.event.shared.GwtEvent<H extends com.google.gwt.event.shared.EventHandler> | |
↳ | com.google.gwt.user.client.Window.ClosingEvent |
Fired just before the browser window closes or navigates to a different site.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the type used to register this event.
| |||||||||||
Get the message that will be presented to the user in a confirmation
dialog that asks the user whether or not she wishes to navigate away from
the page.
| |||||||||||
Set the message to a
non-null value to present a
confirmation dialog that asks the user whether or not she wishes to
navigate away from the page. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Should only be called by
HandlerManager . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class com.google.gwt.event.shared.GwtEvent | |||||||||||
From class
java.lang.Object
|
Returns the type used to register this event. Used by handler manager to dispatch events to the correct handlers.
Get the message that will be presented to the user in a confirmation dialog that asks the user whether or not she wishes to navigate away from the page.
Set the message to a non-null
value to present a
confirmation dialog that asks the user whether or not she wishes to
navigate away from the page. If multiple handlers set the message, the
last message will be displayed; all others will be ignored.
message | the message to display to the user, or null |
---|
Should only be called by HandlerManager
. In other words, do not use
or call.
handler | handler |
---|