Package javafx.scene.control

Examples of javafx.scene.control.SplitMenuButton


        ChoiceBox<String> choice = new ChoiceBox<String>(FXCollections.observableArrayList("Choice A", "Choice B", "Choice C"));
        MenuButton m = new MenuButton("Eats");
        m.getItems().addAll(new MenuItem("Burger"), new MenuItem("Hot Dog"));
        m.setPopupSide(Side.RIGHT);

        SplitMenuButton m2 = new SplitMenuButton();
        m2.setText("Shutdown");
        m2.getItems().addAll(new MenuItem("Logout"), new MenuItem("Sleep"));
        m2.setPopupSide(Side.RIGHT);

        ColorPicker colorTB = new ColorPicker(Color.rgb(194, 222, 254));

        Separator seperateIt = new Separator();
        ToggleGroup toolbarGroup = new ToggleGroup();
View Full Code Here


      switch (type) {
      case CHECK:
        return new CheckBox("CheckBox");
      case PUSH:
        if( menuButton ) {
          SplitMenuButton b = new SplitMenuButton();
          b.setText("Push/Menu Button");
          return b;
        } else {
          return new Button("Push Button")
        }
      case RADIO:
View Full Code Here

TOP

Related Classes of javafx.scene.control.SplitMenuButton

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.