Interface ResizedHandler
- All Superinterfaces:
EventHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onResized
(ResizedEvent event) Method called whenever a Canvas changes size.
-
Method Details
-
onResized
Method called whenever a Canvas changes size. Note that if this canvas isoverflow:"visible"
, and is waiting for a queued redraw (seeisDirty()
), the value forgetVisibleWidth()
andgetVisibleHeight()
will be unreliable untilredraw()
fires.
In this case, if the delayed redraw does change the drawn size of the component, this notification will be fired a second time when it completes.- Parameters:
event
- the event
-