Compare commits
	
		
			6 Commits
		
	
	
		
			svenNeuesG
			...
			a34ae15b88
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| a34ae15b88 | |||
| 73416b60e0 | |||
| b77e42914f | |||
| 33ebabe083 | |||
| 7eea5b2a50 | |||
| e8d29f851c | 
@@ -0,0 +1,30 @@
 | 
				
			|||||||
 | 
					// Programmiert von Samuel Wolff
 | 
				
			||||||
 | 
					// Noch nicht getestet
 | 
				
			||||||
 | 
					// TODO Alle Zutaten einlesen und Listview mit zutatListView Objekten füllen
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package de.subway_surfers.vpr_app;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import Logik.Kind;
 | 
				
			||||||
 | 
					import javafx.fxml.FXML;
 | 
				
			||||||
 | 
					import javafx.scene.control.Button;
 | 
				
			||||||
 | 
					import javafx.scene.control.CheckBox;
 | 
				
			||||||
 | 
					import javafx.scene.control.ListView;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					public class InhaltsstoffeFilternController {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						private @FXML ListView<zutatListViewController> zutatListView;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						private @FXML CheckBox speichernCheckBox;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						private @FXML Button abbrechenButton;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						private @FXML Button fortfahrenButton;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						public void initialize(){
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							// hier ListView füllen
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -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,29 @@
 | 
				
			|||||||
 | 
					// Programmiert von Samuel Wolff
 | 
				
			||||||
 | 
					// Noch nicht getestet
 | 
				
			||||||
 | 
					// TODO Sobald Zutat-Klasse implementiert ist Kommentare entfernen
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package de.subway_surfers.vpr_app;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import javafx.fxml.FXML;
 | 
				
			||||||
 | 
					import javafx.scene.control.CheckBox;
 | 
				
			||||||
 | 
					import javafx.scene.control.Label;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					public class zutatListViewController {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						//private Zutat zutat;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						private @FXML CheckBox isChecked;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						private @FXML Label nameLabel;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						/*public zutatListViewController(Zutat zutat){
 | 
				
			||||||
 | 
							this.zutat = zutat;
 | 
				
			||||||
 | 
						}*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						public void initialize(){
 | 
				
			||||||
 | 
							nameLabel.setText("ZutatA");
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -0,0 +1,21 @@
 | 
				
			|||||||
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!-- Programmiert von Samuel Wolff
 | 
				
			||||||
 | 
					     Noch nicht getestet
 | 
				
			||||||
 | 
					     TODO Style einbauen
 | 
				
			||||||
 | 
					-->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<?import javafx.scene.control.*?>
 | 
				
			||||||
 | 
					<?import javafx.scene.layout.*?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<VBox prefHeight="400.0" prefWidth="600.0" stylesheets="@layout.css" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.subway_surfers.vpr_app.InhaltsstoffeFilternController">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <Label text="Nach Inhaltsstoffen filtern" />
 | 
				
			||||||
 | 
					    <ListView fx:id="zutatListView" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <HBox prefHeight="128.0" prefWidth="600.0" styleClass="bottomHbox">
 | 
				
			||||||
 | 
					        <CheckBox fx:id="speichernCheckBox" text="Auswahl für KindA speichern " />
 | 
				
			||||||
 | 
					        <Button fx:id="abbrechenButton" cancelButton="true" text="Abbrechen" />
 | 
				
			||||||
 | 
					        <Button fx:id="fortfahrenButton" defaultButton="true" text="Fortfahren" />
 | 
				
			||||||
 | 
					    </HBox>
 | 
				
			||||||
 | 
					</VBox>
 | 
				
			||||||
@@ -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>
 | 
				
			||||||
@@ -0,0 +1,24 @@
 | 
				
			|||||||
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!--
 | 
				
			||||||
 | 
					Programmiert von Samuel Wolff
 | 
				
			||||||
 | 
					Noch nicht getestet
 | 
				
			||||||
 | 
					TODO Style einbauen
 | 
				
			||||||
 | 
					-->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<?import java.lang.*?>
 | 
				
			||||||
 | 
					<?import java.util.*?>
 | 
				
			||||||
 | 
					<?import javafx.scene.*?>
 | 
				
			||||||
 | 
					<?import javafx.scene.control.*?>
 | 
				
			||||||
 | 
					<?import javafx.scene.layout.*?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<HBox xmlns="http://javafx.com/javafx"
 | 
				
			||||||
 | 
					            xmlns:fx="http://javafx.com/fxml"
 | 
				
			||||||
 | 
					            fx:controller="de.subway_surfers.vpr_app.zutatListViewController"
 | 
				
			||||||
 | 
					            prefHeight="400.0" prefWidth="600.0"
 | 
				
			||||||
 | 
					            stylesheets="@layout.css">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <CheckBox fx:id="isChecked" />
 | 
				
			||||||
 | 
					    <Label fx:id="nameLabel" text="placeholder" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</HBox>
 | 
				
			||||||
		Reference in New Issue
	
	Block a user