@FXML public void initialize() { gruppenGroesseText.setText(String.valueOf(Inputs.getGroupSize())); groupCountField.setText(String.valueOf(Inputs.getGroupCount())); if (!Inputs.isUseGroupSize()) { gruppenAnzahlRadio.setSelected(true); } // **für Testzwecke ObservableList<String> classList = FXCollections.observableArrayList("ibw2h14a", "ibd2h14b"); klasseAuswaehlenBox.setItems(classList); System.out.println("init"); // ** }
@FXML void setGroupCount() { String pipeline = groupCountField.getText(); if (isInteger(pipeline)) { Inputs.setGroupCount(Integer.parseInt(pipeline)); } }
@FXML void addGruppenGroesse() { String pipeline = gruppenGroesseText.getText(); if (isInteger(pipeline)) { Inputs.setGroupSize(Integer.parseInt(pipeline)); } }
@FXML void gruppenGroesseClicked() { Inputs.setUseGroupSize(true); }
@FXML void gruppenAnzahlClicked() { Inputs.setUseGroupSize(false); }