Search in sources :

Example 1 with ValuePanel

use of blue.jfx.controls.ValuePanel in project blue by kunstmusik.

the class BlueJFXControlsApplication method start.

@Override
public void start(Stage stage) throws Exception {
    TabPane root = new TabPane();
    root.getTabs().add(new Tab("Knob", new Knob()));
    root.getTabs().add(new Tab("ValuePanel", new ValuePanel()));
    setupKnobs(root);
    setupTextFieldsTest(root);
    setupButtonsTest(root);
    setTablesTest(root);
    setTreeViewTest(root);
    ComboBox cb = new ComboBox(FXCollections.observableArrayList("Test 1", "Test 2", "Test 3"));
    root.getTabs().add(new Tab("ComboBox", cb));
    Scene scene = new Scene(new BorderPane(root));
    BlueFX.style(scene);
    stage.setScene(scene);
    stage.show();
    stage.onHiddenProperty().addListener(a -> LifecycleManager.getDefault().exit());
// SimpleCSSEditor.editCSS(root);
}
Also used : TabPane(javafx.scene.control.TabPane) BorderPane(javafx.scene.layout.BorderPane) ValuePanel(blue.jfx.controls.ValuePanel) Tab(javafx.scene.control.Tab) Knob(blue.jfx.controls.Knob) ComboBox(javafx.scene.control.ComboBox) Scene(javafx.scene.Scene)

Aggregations

Knob (blue.jfx.controls.Knob)1 ValuePanel (blue.jfx.controls.ValuePanel)1 Scene (javafx.scene.Scene)1 ComboBox (javafx.scene.control.ComboBox)1 Tab (javafx.scene.control.Tab)1 TabPane (javafx.scene.control.TabPane)1 BorderPane (javafx.scene.layout.BorderPane)1