diff --git a/src/main/java/de/subway_surfers/vpr_app/RechnungFilterViewController.java b/src/main/java/de/subway_surfers/vpr_app/RechnungFilterViewController.java new file mode 100644 index 0000000..b559e71 --- /dev/null +++ b/src/main/java/de/subway_surfers/vpr_app/RechnungFilterViewController.java @@ -0,0 +1,29 @@ +// Programmiert von Samuel Wolff +// Noch nicht getestet + +package de.subway_surfers.vpr_app; + +import javafx.fxml.FXML; +import javafx.scene.control.Button; +import javafx.scene.control.RadioButton; +import javafx.scene.control.ToggleGroup; + +public class RechnungFilterViewController { + + private @FXML RadioButton alle; + private @FXML RadioButton nichtBezahlt; + private @FXML RadioButton bezahlt; + + private ToggleGroup rButtons; + + private @FXML Button abbrechenButton; + private @FXML Button fortfahrenButton; + + public void initialize(){ + rButtons = new ToggleGroup(); + alle.setToggleGroup(rButtons); + nichtBezahlt.setToggleGroup(rButtons); + bezahlt.setToggleGroup(rButtons); + } + +} diff --git a/src/main/resources/de/subway_surfers/vpr_app/rechnungFilter-view.fxml b/src/main/resources/de/subway_surfers/vpr_app/rechnungFilter-view.fxml new file mode 100644 index 0000000..85a3231 --- /dev/null +++ b/src/main/resources/de/subway_surfers/vpr_app/rechnungFilter-view.fxml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + +