Package org.andrewberman.ui.menu

Examples of org.andrewberman.ui.menu.CheckBox


       */
      MenuItem item = menu.get("Use Branch Lengths");
      if (item != null)
      {
        System.out.println("GOT IT");
        CheckBox cb = (CheckBox) item;
        cb.setAction(this,"layout");
      }
    }
  }
View Full Code Here


       * Set a callback for the "use branch lengths" property.
       */
      MenuItem item = menu.get("Use Branch Lengths");
      if (item != null) {
        System.out.println("GOT IT");
        CheckBox cb = (CheckBox) item;
        cb.setAction(this, "layout");
      }
    }
  }
View Full Code Here

  public void setup()
  {
    super.setup();
    Toolbar t = new Toolbar(this);
    t.setOrientation(Toolbar.VERTICAL);
    CheckBox b = new CheckBox();
    b.setName("Hello");
    b.setProperty(this, "isEnabled");
    t.add(b);
    NumberScroller s = new NumberScroller();
    s.setName("ScrollMe");
    s.setDefault(50);
    t.add(s);
View Full Code Here

TOP

Related Classes of org.andrewberman.ui.menu.CheckBox

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.