Example #1
0
  /**
   * called if the minSize of the widget changed.
   *
   * @param event
   */
  public void minSizeChanged(SizeChangedEvent event) {
    if (!this.isVisible() || !this.isInWidgetTree()) {
      return;
    }

    for (ISizeChangedListener listener : minSizeHook) {
      listener.sizeChanged(event);
    }
  }
Example #2
0
 protected void fireSizeChangedEvent(SizeChangedEvent event) {
   for (ISizeChangedListener listener : sizeListeners) {
     listener.sizeChanged(event);
   }
 }