ListView Item Controller + View
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
// 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;
|
||||
@@ -10,12 +12,18 @@ import javafx.scene.control.ListView;
|
||||
|
||||
public class InhaltsstoffeFilternController {
|
||||
|
||||
private @FXML ListView zutatListView;
|
||||
private @FXML ListView<zutatListViewController> zutatListView;
|
||||
|
||||
private @FXML CheckBox speichernCheckbox;
|
||||
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
|
||||
// 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");
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user