Compare commits
3 Commits
6c13cb1873
...
28dcd4a7ab
Author | SHA1 | Date | |
---|---|---|---|
28dcd4a7ab | |||
0a7f941d61 | |||
6e60fb1517 |
@ -1,25 +1,100 @@
|
||||
/**
|
||||
* Author: Reshad Meher
|
||||
* Startseite
|
||||
* fxml: menue-view.fxml
|
||||
*/
|
||||
|
||||
package com.bib.essensbestellungsverwaltung;
|
||||
import javafx.collections.FXCollections;
|
||||
import javafx.collections.ObservableList;
|
||||
import javafx.event.ActionEvent;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Parent;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.scene.control.Alert;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
import java.io.IOException;
|
||||
import javafx.scene.Node;
|
||||
import javafx.scene.control.*;
|
||||
|
||||
public class MenueController {
|
||||
|
||||
@FXML
|
||||
private void onBtLoginClick(){
|
||||
Alert alert = new Alert(Alert.AlertType.ERROR, "Hi");
|
||||
alert.showAndWait();
|
||||
Button btFirstMealMon;
|
||||
@FXML
|
||||
Button btSecondMealMon;
|
||||
@FXML
|
||||
Button btNoMealMon;
|
||||
@FXML
|
||||
Button btFirstDessertMon;
|
||||
@FXML
|
||||
Button btSecondDessertMon;
|
||||
@FXML
|
||||
Button btNoDessertMon;
|
||||
@FXML
|
||||
Button btFirstMealTue;
|
||||
@FXML
|
||||
Button btSecondMealTue;
|
||||
@FXML
|
||||
Button btNoMealTue;
|
||||
@FXML
|
||||
Button btFirstDessertTue;
|
||||
@FXML
|
||||
Button btSecondDessertTue;
|
||||
@FXML
|
||||
Button btNoDessertTue;
|
||||
@FXML
|
||||
Button btFirstMealWed;
|
||||
@FXML
|
||||
Button btSecondMealWed;
|
||||
@FXML
|
||||
Button btNoMealWed;
|
||||
@FXML
|
||||
Button btFirstDessertWed;
|
||||
@FXML
|
||||
Button btSecondDessertWed;
|
||||
@FXML
|
||||
Button btNoDessertWed;
|
||||
@FXML
|
||||
Button btFirstMealThu;
|
||||
@FXML
|
||||
Button btSecondMealThu;
|
||||
@FXML
|
||||
Button btNoMealThu;
|
||||
@FXML
|
||||
Button btFirstDessertThu;
|
||||
@FXML
|
||||
Button btSecondDessertThu;
|
||||
@FXML
|
||||
Button btNoDessertThu;
|
||||
@FXML
|
||||
Button btFirstMealFri;
|
||||
@FXML
|
||||
Button btSecondMealFri;
|
||||
@FXML
|
||||
Button btNoMealFri;
|
||||
@FXML
|
||||
Button btFirstDessertFri;
|
||||
@FXML
|
||||
Button btSecondDessertFri;
|
||||
@FXML
|
||||
Button btNoDessertFri;
|
||||
@FXML
|
||||
ComboBox<String> cbPickChild;
|
||||
@FXML
|
||||
Button btLogin;
|
||||
@FXML
|
||||
Button btSaveOrder;
|
||||
@FXML
|
||||
ListView<String> lvFoodInfo;
|
||||
|
||||
public ObservableList<Node> buttons = FXCollections.observableArrayList();
|
||||
|
||||
|
||||
public void setButtonActive(ActionEvent event) {
|
||||
Button b = (Button) event.getSource();
|
||||
|
||||
javafx.scene.Parent p = b.getParent();
|
||||
buttons = p.getChildrenUnmodifiable();
|
||||
|
||||
for(Node button : buttons){
|
||||
System.out.println(b.getStyleClass());
|
||||
/*
|
||||
b.getStyleClass().remove("active");
|
||||
|
||||
if (button.equals(b)){
|
||||
b.getStyleClass().add("active");;
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,324 +3,177 @@
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.ComboBox?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.ListView?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<?import javafx.scene.text.Text?>
|
||||
|
||||
<AnchorPane prefHeight="760.0" prefWidth="867.0" stylesheets="@menue.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.MenueController">
|
||||
<children>
|
||||
<HBox alignment="CENTER" layoutX="50.0" layoutY="27.0" prefHeight="648.0" prefWidth="791.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="135.0">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Montag" textAlignment="CENTER" wrappingWidth="120.0">
|
||||
<VBox.margin>
|
||||
<Insets />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="23.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 1">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 2">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
|
||||
<VBox.margin>
|
||||
<Insets bottom="55.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets left="25.0" right="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 1">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 2">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
|
||||
<padding>
|
||||
<Insets left="25.0" right="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="135.0">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Dienstag" textAlignment="CENTER" wrappingWidth="120.0">
|
||||
<VBox.margin>
|
||||
<Insets />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="23.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 1">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 2">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
|
||||
<VBox.margin>
|
||||
<Insets bottom="55.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets left="25.0" right="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 1">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 2">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
|
||||
<padding>
|
||||
<Insets left="25.0" right="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="135.0">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Mittwoch" textAlignment="CENTER" wrappingWidth="120.0">
|
||||
<VBox.margin>
|
||||
<Insets />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="23.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 1">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 2">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
|
||||
<VBox.margin>
|
||||
<Insets bottom="55.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets left="25.0" right="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 1">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 2">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
|
||||
<padding>
|
||||
<Insets left="25.0" right="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="135.0">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Donnerstag" textAlignment="CENTER" wrappingWidth="120.0">
|
||||
<VBox.margin>
|
||||
<Insets />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="23.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 1">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 2">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
|
||||
<VBox.margin>
|
||||
<Insets bottom="55.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets left="25.0" right="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 1">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 2">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
|
||||
<padding>
|
||||
<Insets left="25.0" right="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="135.0">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Freitag" textAlignment="CENTER" wrappingWidth="120.0">
|
||||
<VBox.margin>
|
||||
<Insets />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="23.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 1">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 2">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
|
||||
<VBox.margin>
|
||||
<Insets bottom="55.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets left="25.0" right="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 1">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 2">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
|
||||
<padding>
|
||||
<Insets left="25.0" right="25.0" />
|
||||
</padding>
|
||||
</Button>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<Button id="btPlaceOrder" layoutX="378.0" layoutY="675.0" mnemonicParsing="false" prefHeight="53.0" prefWidth="134.0" text="Jetzt Bestellen" />
|
||||
<ComboBox id="cbChooseChild" layoutX="63.0" layoutY="689.0" prefWidth="150.0" promptText="Kind auswählen" />
|
||||
<Text layoutX="650.0" layoutY="711.0" strokeType="OUTSIDE" strokeWidth="0.0" text="[Gesambetrag]" wrappingWidth="168.0">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
</Text>
|
||||
</children>
|
||||
<AnchorPane prefHeight="600.0" prefWidth="900.0" stylesheets="@menue.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.MenueController">
|
||||
<children>
|
||||
<Label alignment="CENTER" layoutX="14.0" layoutY="14.0" prefHeight="35.0" prefWidth="895.0" text="Essenbestellung">
|
||||
<font>
|
||||
<Font size="28.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button id="btLogin" fx:id="btLogin" alignment="CENTER" layoutX="848.0" layoutY="34.0" mnemonicParsing="false" text="Login" />
|
||||
<HBox layoutX="220.0" layoutY="87.0" prefHeight="414.0" prefWidth="688.0">
|
||||
<children>
|
||||
<VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
|
||||
<children>
|
||||
<Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Montag" textAlignment="CENTER">
|
||||
<VBox.margin>
|
||||
<Insets bottom="10.0" />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<VBox prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<Button id="btFoodChoice" fx:id="btFirstMealMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
|
||||
<Button id="btFoodChoice" fx:id="btSecondMealMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
|
||||
<Button id="btFoodChoice" fx:id="btNoMealMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
|
||||
<VBox.margin>
|
||||
<Insets bottom="20.0" />
|
||||
</VBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<Button id="btFoodChoice" fx:id="btFirstDessertMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
|
||||
<Button id="btFoodChoice" fx:id="btSecondDessertMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
|
||||
<Button id="btFoodChoice" fx:id="btNoDessertMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
|
||||
<children>
|
||||
<Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Dienstag" textAlignment="CENTER">
|
||||
<VBox.margin>
|
||||
<Insets bottom="10.0" />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<VBox prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<Button id="btFoodChoice" fx:id="btFirstMealTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
|
||||
<Button id="btFoodChoice" fx:id="btSecondMealTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
|
||||
<Button id="btFoodChoice" fx:id="btNoMealTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
|
||||
<VBox.margin>
|
||||
<Insets bottom="20.0" />
|
||||
</VBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<Button id="btFoodChoice" fx:id="btFirstDessertTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
|
||||
<Button id="btFoodChoice" fx:id="btSecondDessertTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
|
||||
<Button id="btFoodChoice" fx:id="btNoDessertTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
|
||||
<children>
|
||||
<Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Mittwoch" textAlignment="CENTER">
|
||||
<VBox.margin>
|
||||
<Insets bottom="10.0" />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<VBox prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<Button id="btFoodChoice" fx:id="btFirstMealWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
|
||||
<Button id="btFoodChoice" fx:id="btSecondMealWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
|
||||
<Button id="btFoodChoice" fx:id="btNoMealWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
|
||||
<VBox.margin>
|
||||
<Insets bottom="20.0" />
|
||||
</VBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<Button id="btFoodChoice" fx:id="btFirstDessertWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
|
||||
<Button id="btFoodChoice" fx:id="btSecondDessertWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
|
||||
<Button id="btFoodChoice" fx:id="btNoDessertWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
|
||||
<children>
|
||||
<Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Donnerstag" textAlignment="CENTER">
|
||||
<VBox.margin>
|
||||
<Insets bottom="10.0" />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<VBox prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<Button id="btFoodChoice" fx:id="btFirstMealThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
|
||||
<Button id="btFoodChoice" fx:id="btSecondMealThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
|
||||
<Button id="btFoodChoice" fx:id="btNoMealThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
|
||||
<VBox.margin>
|
||||
<Insets bottom="20.0" />
|
||||
</VBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<Button id="btFoodChoice" fx:id="btFirstDessertThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
|
||||
<Button id="btFoodChoice" fx:id="btSecondDessertThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
|
||||
<Button id="btFoodChoice" fx:id="btNoDessertThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
|
||||
<children>
|
||||
<Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Freitag" textAlignment="CENTER">
|
||||
<VBox.margin>
|
||||
<Insets bottom="10.0" />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<VBox prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<Button id="btFoodChoice" fx:id="btFirstMealFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
|
||||
<Button id="btFoodChoice" fx:id="btSecondMealFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
|
||||
<Button id="btFoodChoice" fx:id="btNoMealFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
|
||||
<VBox.margin>
|
||||
<Insets bottom="20.0" />
|
||||
</VBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<Button id="btFoodChoice" fx:id="btFirstDessertFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
|
||||
<Button id="btFoodChoice" fx:id="btSecondDessertFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
|
||||
<Button id="btFoodChoice" fx:id="btNoDessertFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<Button id="btPlaceOrder" fx:id="btSaveOrder" layoutX="379.0" layoutY="527.0" mnemonicParsing="false" prefHeight="40.0" prefWidth="150.0" text="Bestellung abschicken" />
|
||||
<ComboBox id="cbChooseChild" fx:id="cbPickChild" layoutX="29.0" layoutY="34.0" prefWidth="150.0" promptText="Wähle Kind" stylesheets="@menue.css" />
|
||||
<ListView id="lvShowDescription" fx:id="lvFoodInfo" layoutX="20.0" layoutY="115.0" prefHeight="370.0" prefWidth="200.0" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
|
Loading…
Reference in New Issue
Block a user