From 33ebabe083017db3152e74031e7accfb6db373c4 Mon Sep 17 00:00:00 2001 From: Samuel Wolff Date: Wed, 13 Dec 2023 18:19:02 +0100 Subject: [PATCH] RechnungFilter View+Controller --- .../vpr_app/RechnungFilterViewController.java | 29 ++++++++++++++++++ .../vpr_app/rechnungFilter-view.fxml | 30 +++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 src/main/java/de/subway_surfers/vpr_app/RechnungFilterViewController.java create mode 100644 src/main/resources/de/subway_surfers/vpr_app/rechnungFilter-view.fxml 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 @@ + + + + + + + + + + + + + + + + + +