public static class

PlaceController.DefaultDelegate

extends Object
implements PlaceController.Delegate
java.lang.Object
   ↳ com.google.gwt.place.shared.PlaceController.DefaultDelegate

Class Overview

Default implementation of PlaceController.DefaultDelegate, based on Window.

Summary

Public Constructors
PlaceController.DefaultDelegate()
Public Methods
HandlerRegistration addWindowClosingHandler(Window.ClosingHandler handler)
Adds a Window.ClosingHandler to the Delegate.
boolean confirm(String message)
Called to confirm a window closing event.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.place.shared.PlaceController.Delegate

Public Constructors

public PlaceController.DefaultDelegate ()

Public Methods

public HandlerRegistration addWindowClosingHandler (Window.ClosingHandler handler)

Adds a Window.ClosingHandler to the Delegate.

Parameters
handler a Window.ClosingHandler instance
Returns

public boolean confirm (String message)

Called to confirm a window closing event.

Parameters
message a warning message
Returns
  • true to allow the window closing