Compare commits

...

3 Commits

Author SHA1 Message Date
28dcd4a7ab MenueController Button highlight 2023-02-01 18:23:19 +01:00
0a7f941d61 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	src/main/java/com/bib/essensbestellungsverwaltung/MenueController.java
2023-02-01 18:18:39 +01:00
6e60fb1517 MenueController Button highlight 2023-02-01 18:17:44 +01:00
2 changed files with 259 additions and 331 deletions

View File

@ -1,25 +1,100 @@
/**
* Author: Reshad Meher
* Startseite
* fxml: menue-view.fxml
*/
package com.bib.essensbestellungsverwaltung; package com.bib.essensbestellungsverwaltung;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent; import javafx.event.ActionEvent;
import javafx.fxml.FXML; import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader; import javafx.scene.Node;
import javafx.scene.Parent; import javafx.scene.control.*;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.stage.Stage;
import java.io.IOException;
public class MenueController { public class MenueController {
@FXML @FXML
private void onBtLoginClick(){ Button btFirstMealMon;
Alert alert = new Alert(Alert.AlertType.ERROR, "Hi"); @FXML
alert.showAndWait(); 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");;
}
*/
}
} }
} }

View File

@ -3,324 +3,177 @@
<?import javafx.geometry.Insets?> <?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?> <?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?> <?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?> <?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?> <?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?> <?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"> <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> <children>
<HBox alignment="CENTER" layoutX="50.0" layoutY="27.0" prefHeight="648.0" prefWidth="791.0"> <Label alignment="CENTER" layoutX="14.0" layoutY="14.0" prefHeight="35.0" prefWidth="895.0" text="Essenbestellung">
<children> <font>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="135.0"> <Font size="28.0" />
<children> </font>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Montag" textAlignment="CENTER" wrappingWidth="120.0"> </Label>
<VBox.margin> <Button id="btLogin" fx:id="btLogin" alignment="CENTER" layoutX="848.0" layoutY="34.0" mnemonicParsing="false" text="Login" />
<Insets /> <HBox layoutX="220.0" layoutY="87.0" prefHeight="414.0" prefWidth="688.0">
</VBox.margin> <children>
<font> <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
<Font size="23.0" /> <children>
</font> <Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Montag" textAlignment="CENTER">
</Text> <VBox.margin>
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 1"> <Insets bottom="10.0" />
<VBox.margin> </VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> <font>
</VBox.margin> <Font size="18.0" />
<padding> </font>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" /> </Label>
</padding> <VBox prefHeight="200.0" prefWidth="100.0">
</Button> <children>
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 2"> <Button id="btFoodChoice" fx:id="btFirstMealMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
<VBox.margin> <Button id="btFoodChoice" fx:id="btSecondMealMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> <Button id="btFoodChoice" fx:id="btNoMealMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
</VBox.margin> <VBox.margin>
<padding> <Insets bottom="20.0" />
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" /> </VBox.margin>
</padding> </Button>
</Button> </children>
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen"> </VBox>
<VBox.margin> <VBox prefHeight="200.0" prefWidth="100.0">
<Insets bottom="55.0" left="15.0" right="15.0" top="15.0" /> <children>
</VBox.margin> <Button id="btFoodChoice" fx:id="btFirstDessertMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
<padding> <Button id="btFoodChoice" fx:id="btSecondDessertMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
<Insets left="25.0" right="25.0" /> <Button id="btFoodChoice" fx:id="btNoDessertMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
</padding> </children>
</Button> </VBox>
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 1"> </children>
<VBox.margin> </VBox>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
</VBox.margin> <children>
<padding> <Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Dienstag" textAlignment="CENTER">
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" /> <VBox.margin>
</padding> <Insets bottom="10.0" />
</Button> </VBox.margin>
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 2"> <font>
<VBox.margin> <Font size="18.0" />
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> </font>
</VBox.margin> </Label>
<padding> <VBox prefHeight="200.0" prefWidth="100.0">
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" /> <children>
</padding> <Button id="btFoodChoice" fx:id="btFirstMealTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
</Button> <Button id="btFoodChoice" fx:id="btSecondMealTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen"> <Button id="btFoodChoice" fx:id="btNoMealTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
<padding> <VBox.margin>
<Insets left="25.0" right="25.0" /> <Insets bottom="20.0" />
</padding> </VBox.margin>
</Button> </Button>
</children> </children>
<HBox.margin> </VBox>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> <VBox prefHeight="200.0" prefWidth="100.0">
</HBox.margin> <children>
</VBox> <Button id="btFoodChoice" fx:id="btFirstDessertTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="135.0"> <Button id="btFoodChoice" fx:id="btSecondDessertTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
<children> <Button id="btFoodChoice" fx:id="btNoDessertTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Dienstag" textAlignment="CENTER" wrappingWidth="120.0"> </children>
<VBox.margin> </VBox>
<Insets /> </children>
</VBox.margin> </VBox>
<font> <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
<Font size="23.0" /> <children>
</font> <Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Mittwoch" textAlignment="CENTER">
</Text> <VBox.margin>
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 1"> <Insets bottom="10.0" />
<VBox.margin> </VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> <font>
</VBox.margin> <Font size="18.0" />
<padding> </font>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" /> </Label>
</padding> <VBox prefHeight="200.0" prefWidth="100.0">
</Button> <children>
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 2"> <Button id="btFoodChoice" fx:id="btFirstMealWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
<VBox.margin> <Button id="btFoodChoice" fx:id="btSecondMealWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> <Button id="btFoodChoice" fx:id="btNoMealWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
</VBox.margin> <VBox.margin>
<padding> <Insets bottom="20.0" />
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" /> </VBox.margin>
</padding> </Button>
</Button> </children>
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen"> </VBox>
<VBox.margin> <VBox prefHeight="200.0" prefWidth="100.0">
<Insets bottom="55.0" left="15.0" right="15.0" top="15.0" /> <children>
</VBox.margin> <Button id="btFoodChoice" fx:id="btFirstDessertWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
<padding> <Button id="btFoodChoice" fx:id="btSecondDessertWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
<Insets left="25.0" right="25.0" /> <Button id="btFoodChoice" fx:id="btNoDessertWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
</padding> </children>
</Button> </VBox>
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 1"> </children>
<VBox.margin> </VBox>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
</VBox.margin> <children>
<padding> <Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Donnerstag" textAlignment="CENTER">
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" /> <VBox.margin>
</padding> <Insets bottom="10.0" />
</Button> </VBox.margin>
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 2"> <font>
<VBox.margin> <Font size="18.0" />
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> </font>
</VBox.margin> </Label>
<padding> <VBox prefHeight="200.0" prefWidth="100.0">
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" /> <children>
</padding> <Button id="btFoodChoice" fx:id="btFirstMealThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
</Button> <Button id="btFoodChoice" fx:id="btSecondMealThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen"> <Button id="btFoodChoice" fx:id="btNoMealThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
<padding> <VBox.margin>
<Insets left="25.0" right="25.0" /> <Insets bottom="20.0" />
</padding> </VBox.margin>
</Button> </Button>
</children> </children>
<HBox.margin> </VBox>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> <VBox prefHeight="200.0" prefWidth="100.0">
</HBox.margin> <children>
</VBox> <Button id="btFoodChoice" fx:id="btFirstDessertThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="135.0"> <Button id="btFoodChoice" fx:id="btSecondDessertThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
<children> <Button id="btFoodChoice" fx:id="btNoDessertThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Mittwoch" textAlignment="CENTER" wrappingWidth="120.0"> </children>
<VBox.margin> </VBox>
<Insets /> </children>
</VBox.margin> </VBox>
<font> <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
<Font size="23.0" /> <children>
</font> <Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Freitag" textAlignment="CENTER">
</Text> <VBox.margin>
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 1"> <Insets bottom="10.0" />
<VBox.margin> </VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> <font>
</VBox.margin> <Font size="18.0" />
<padding> </font>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" /> </Label>
</padding> <VBox prefHeight="200.0" prefWidth="100.0">
</Button> <children>
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 2"> <Button id="btFoodChoice" fx:id="btFirstMealFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
<VBox.margin> <Button id="btFoodChoice" fx:id="btSecondMealFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> <Button id="btFoodChoice" fx:id="btNoMealFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
</VBox.margin> <VBox.margin>
<padding> <Insets bottom="20.0" />
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" /> </VBox.margin>
</padding> </Button>
</Button> </children>
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen"> </VBox>
<VBox.margin> <VBox prefHeight="200.0" prefWidth="100.0">
<Insets bottom="55.0" left="15.0" right="15.0" top="15.0" /> <children>
</VBox.margin> <Button id="btFoodChoice" fx:id="btFirstDessertFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
<padding> <Button id="btFoodChoice" fx:id="btSecondDessertFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
<Insets left="25.0" right="25.0" /> <Button id="btFoodChoice" fx:id="btNoDessertFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
</padding> </children>
</Button> </VBox>
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 1"> </children>
<VBox.margin> </VBox>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> </children>
</VBox.margin> </HBox>
<padding> <Button id="btPlaceOrder" fx:id="btSaveOrder" layoutX="379.0" layoutY="527.0" mnemonicParsing="false" prefHeight="40.0" prefWidth="150.0" text="Bestellung abschicken" />
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" /> <ComboBox id="cbChooseChild" fx:id="cbPickChild" layoutX="29.0" layoutY="34.0" prefWidth="150.0" promptText="Wähle Kind" stylesheets="@menue.css" />
</padding> <ListView id="lvShowDescription" fx:id="lvFoodInfo" layoutX="20.0" layoutY="115.0" prefHeight="370.0" prefWidth="200.0" />
</Button> </children>
<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> </AnchorPane>