Package rocket.widget.client

Examples of rocket.widget.client.SpanPanel


  protected int getSunkEventsBitMask() {
    return EventBitMaskConstants.MOUSE_DOWN | EventBitMaskConstants.MOUSE_OUT;
  }

  protected SpanPanel createSpanPanel() {
    final SpanPanel panel = new SpanPanel();
    panel.add(Widgets.createHtml());

    final MenuList menuList = this.createMenuList();
    this.setMenuList(menuList);
    panel.add(menuList);

    return panel;
  }
View Full Code Here


   * Retrieves the widget being wrapped by this menu.
   *
   * @return
   */
  public Widget getWidget() {
    final SpanPanel panel = (SpanPanel) this.getPanel();
    return panel.get(0);
  }
View Full Code Here

  }

  public void setWidget(final Widget widget) {
    Checker.notNull("parameter:widget", widget);

    final SpanPanel panel = (SpanPanel) this.getPanel();
    panel.remove(0);
    panel.insert(widget, 0);
  }
View Full Code Here

TOP

Related Classes of rocket.widget.client.SpanPanel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.