samu_masken #7
@ -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);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
Programmiert von Samuel Wolff
|
||||
Noch nicht getestet
|
||||
TODO Style einbinden
|
||||
-->
|
||||
|
||||
<?import java.lang.*?>
|
||||
<?import java.util.*?>
|
||||
<?import javafx.scene.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<VBox xmlns="http://javafx.com/javafx"
|
||||
xmlns:fx="http://javafx.com/fxml"
|
||||
fx:controller="de.subway_surfers.vpr_app.RechnungFilterViewController"
|
||||
prefHeight="400.0" prefWidth="600.0"
|
||||
stylesheets="@layout.css">
|
||||
|
||||
<RadioButton fx:id="alle" text="Alle anzeigen" />
|
||||
<RadioButton fx:id="nichtBezahlt" text="Alle nicht bezahlten Anzeigen" />
|
||||
<RadioButton fx:id="bezahlt" text="Alle bezahlten Anzeigen" />
|
||||
|
||||
<HBox>
|
||||
<Button fx:id="abbrechenButton" text="Abbruch" />
|
||||
<Button fx:id="fortfahrenButton" text="Fortfahren" />
|
||||
</HBox>
|
||||
|
||||
</VBox>
|
Loading…
Reference in New Issue
Block a user