public interface HasClearHandlers
extends com.google.gwt.event.shared.HasHandlers
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addClearHandler(ClearHandler handler)
Notification method fired when the canvas is removed from the DOM via a call to
clear() . |
com.google.gwt.event.shared.HandlerRegistration addClearHandler(ClearHandler handler)
clear()
. Canvases are cleared recursively, so if a parent is
clear()'d, all of its descendants will also be cleared. This notification is fired before the canvas has been
removed from the DOM, and isDrawn()
will return true
if
called while the notification is running.handler
- the clear handlerHandlerRegistration
used to remove this handler