Package org.waveprotocol.wave.client.widget.common

Examples of org.waveprotocol.wave.client.widget.common.ButtonSwitch


   * @param userPositioner Optional positioner to use instead of the default
   */
  public MenuButton(String styleName, String title, String label,
      RelativePopupPositioner userPositioner) {
    if (label == null) {
      button = new ButtonSwitch(styleName, "Hide menu", title, this);
    } else {
      button = new ButtonSwitch(styleName, "Hide menu", title, this, label);
    }
    button.addStyleName("menu");
    button.setState(false);

    if (userPositioner == null) {
View Full Code Here


   * @param userPositioner Optional positioner to use instead of the default
   */
  public MenuButton(String styleName, String title, String label,
      RelativePopupPositioner userPositioner) {
    if (label == null) {
      button = new ButtonSwitch(styleName, "Hide menu", title, this);
    } else {
      button = new ButtonSwitch(styleName, "Hide menu", title, this, label);
    }
    button.addStyleName("menu");
    button.setState(false);

    if (userPositioner == null) {
View Full Code Here

TOP

Related Classes of org.waveprotocol.wave.client.widget.common.ButtonSwitch

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.