Interface ResizedHandler

All Superinterfaces:
EventHandler

public interface ResizedHandler extends EventHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method called whenever a Canvas changes size.
  • Method Details

    • onResized

      void onResized(ResizedEvent event)
      Method called whenever a Canvas changes size. Note that if this canvas is overflow:"visible", and is waiting for a queued redraw (see isDirty()), the value for getVisibleWidth() and getVisibleHeight() will be unreliable until redraw() 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