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.DelegateWindow.ClosingHandler to the Delegate.addWindowClosingHandler in interface PlaceController.Delegatehandler - a Window.ClosingHandler instanceHandlerRegistration instancepublic boolean confirm(java.lang.String message)
PlaceController.Delegateconfirm in interface PlaceController.Delegatemessage - a warning message