public static class PlaceController.DefaultDelegate extends java.lang.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(java.lang.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(java.lang.String message)
PlaceController.Delegate
confirm
in interface PlaceController.Delegate
message
- a warning message