public static class PlaceController.DefaultDelegate extends Object implements PlaceController.Delegate
PlaceController.Delegate
, based on Window
.Constructor and Description |
---|
DefaultDelegate() |
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addWindowClosingHandler(Window.ClosingHandler handler)
Adds a
Window.ClosingHandler to the Delegate. |
boolean |
confirm(String message)
Called to confirm a window closing event.
|
public HandlerRegistration addWindowClosingHandler(Window.ClosingHandler handler)
PlaceController.Delegate
Window.ClosingHandler
to the Delegate.addWindowClosingHandler
in interface PlaceController.Delegate
handler
- a Window.ClosingHandler
instanceHandlerRegistration
instancepublic boolean confirm(String message)
PlaceController.Delegate
confirm
in interface PlaceController.Delegate
message
- a warning messageCopyright © 2018. All rights reserved.