public interface HasResizedHandlers extends HasHandlers
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addResizedHandler(ResizedHandler handler)
Observable method called whenever a Canvas changes size.
|
fireEvent
HandlerRegistration addResizedHandler(ResizedHandler handler)
overflow:"visible"
, and is waiting for a queued redraw (see Canvas.isDirty()
), the value for Canvas.getVisibleWidth()
and Canvas.getVisibleHeight()
will be unreliable until
redraw()
fires.handler
- the resized handlerHandlerRegistration
used to remove this handler