Package com.google.gwt.user.client
Class BaseListenerWrapper.WrapWindowClose
java.lang.Object
com.google.gwt.user.client.BaseListenerWrapper<WindowCloseListener>
com.google.gwt.user.client.BaseListenerWrapper.WrapWindowClose
- All Implemented Interfaces:
CloseHandler<Window>
,EventHandler
,Window.ClosingHandler
- Enclosing class:
BaseListenerWrapper<T>
static class BaseListenerWrapper.WrapWindowClose
extends BaseListenerWrapper<WindowCloseListener>
implements Window.ClosingHandler, CloseHandler<Window>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gwt.user.client.BaseListenerWrapper
BaseListenerWrapper.WrapWindowClose, BaseListenerWrapper.WrapWindowResize, BaseListenerWrapper.WrapWindowScroll
-
Field Summary
Fields inherited from class com.google.gwt.user.client.BaseListenerWrapper
listener
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
add
(WindowCloseListener listener) Deprecated.void
onClose
(CloseEvent<Window> event) Called whenCloseEvent
is fired.void
Fired just before the browser window closes or navigates to a different site.static void
remove
(HandlerManager manager, WindowCloseListener listener) Methods inherited from class com.google.gwt.user.client.BaseListenerWrapper
baseRemove, getListener
-
Method Details
-
add
Deprecated. -
onWindowClosing
Description copied from interface:Window.ClosingHandler
Fired just before the browser window closes or navigates to a different site. No user-interface may be displayed during shutdown.- Specified by:
onWindowClosing
in interfaceWindow.ClosingHandler
- Parameters:
event
- the event
-