Example usage for javafx.scene.layout RowConstraints setVgrow

List of usage examples for javafx.scene.layout RowConstraints setVgrow

Introduction

In this page you can find the example usage for javafx.scene.layout RowConstraints setVgrow.

Prototype

public final void setVgrow(Priority value) 

Source Link

Usage

From source file:gov.va.isaac.gui.preferences.plugins.ViewCoordinatePreferencesPluginViewController.java

@FXML
void initialize() {
    assert rootStackPaneInTab != null : "fx:id=\"rootStackPaneInTab\" was not injected: check your FXML file 'ViewCoordinatePreferencesPluginView.fxml'.";
    assert gridPaneInRootStackPane != null : "fx:id=\"gridPaneInRootStackPane\" was not injected: check your FXML file 'ViewCoordinatePreferencesPluginView.fxml'.";
    assert topGridPane != null : "fx:id=\"topGridPane\" was not injected: check your FXML file 'ViewCoordinatePreferencesPluginView.fxml'.";
    assert bottomGridPane != null : "fx:id=\"bottomGridPane\" was not injected: check your FXML file 'ViewCoordinatePreferencesPluginView.fxml'.";
    assert datePicker != null : "fx:id=\"datePicker\" was not injected: check your FXML file 'ViewCoordinatePreferencesPluginView.fxml'.";
    assert dateSelectionMethodComboBox != null : "fx:id=\"dateSelectionMethodComboBox\" was not injected: check your FXML file 'ViewCoordinatePreferencesPluginView.fxml'.";
    assert pathComboBox != null : "fx:id=\"pathComboBox\" was not injected: check your FXML file 'ViewCoordinatePreferencesPluginView.fxml'.";
    assert selectableModuleListView != null : "fx:id=\"selectableModuleListView\" was not injected: check your FXML file 'ViewCoordinatePreferencesPluginView.fxml'.";
    assert statusesToggleGroupVBox != null : "fx:id=\"statusesToggleGroupVBox\" was not injected: check your FXML file 'ViewCoordinatePreferencesPluginView.fxml'.";
    assert statedInferredToggleGroupVBox != null : "fx:id=\"statedInferredToggleGroupVBox\" was not injected: check your FXML file 'ViewCoordinatePreferencesPluginView.fxml'.";

    RowConstraints gridPaneRowConstraints = new RowConstraints();
    gridPaneRowConstraints.setVgrow(Priority.NEVER);

    addGridPaneRowConstraintsToAllRows(gridPaneInRootStackPane, gridPaneRowConstraints);
    addGridPaneRowConstraintsToAllRows(topGridPane, gridPaneRowConstraints);
    addGridPaneRowConstraintsToAllRows(bottomGridPane, gridPaneRowConstraints);

    //      currentPathProperty.addListener((observable, oldValue, newValue) -> {
    //         log.debug("currentPathProperty changed from {} to {}", oldValue, newValue);
    //      });/* ww  w. j  a  v  a 2 s .  c  o  m*/
    //      currentStatedInferredOptionProperty.addListener((observable, oldValue, newValue) -> {
    //         log.debug("currentStatedInferredOptionProperty changed from {} to {}", oldValue, newValue);
    //      });
    //      currentTimeProperty.addListener((observable, oldValue, newValue) -> {
    //         log.debug("currentTimeProperty changed from {} to {}", oldValue, newValue);
    //      });
    //      currentStatusesProperty.addListener((observable, oldValue, newValue) -> {
    //         log.debug("currentStatusesProperty changed from {} to {}", Arrays.toString(oldValue.toArray()), Arrays.toString(newValue.toArray()));
    //      });

    initializeDatePicker();
    initializeDateSelectionMethodComboBox();
    initializePathComboBox();
    initializeSelectableModuleListView();
    initializeStatusesToggleGroup();
    initializeStatedInferredToggleGroup();
    initializeValidBooleanBinding();
}