public static interface

PlaceController.Delegate

com.google.gwt.place.shared.PlaceController.Delegate
Known Indirect Subclasses

Class Overview

Optional delegate in charge of Window-related events. Provides nice isolation for unit testing, and allows customization of confirmation handling.

Summary

Public Methods
abstract HandlerRegistration addWindowClosingHandler(Window.ClosingHandler handler)
Adds a Window.ClosingHandler to the Delegate.
abstract boolean confirm(String message)
Called to confirm a window closing event.

Public Methods

public abstract HandlerRegistration addWindowClosingHandler (Window.ClosingHandler handler)

Adds a Window.ClosingHandler to the Delegate.

Parameters
handler a Window.ClosingHandler instance
Returns

public abstract boolean confirm (String message)

Called to confirm a window closing event.

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