|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface PlaceController.Delegate
Optional delegate in charge of Window-related events. Provides nice isolation for unit testing, and allows customization of confirmation handling.
Method Summary | |
---|---|
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. |
Method Detail |
---|
HandlerRegistration addWindowClosingHandler(Window.ClosingHandler handler)
Window.ClosingHandler
to the Delegate.
handler
- a Window.ClosingHandler
instance
HandlerRegistration
instanceboolean confirm(java.lang.String message)
message
- a warning message
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |