MenüView überarbeitet - Legende Hinzugefügt_

This commit is contained in:
Madeleine Vigier 2023-01-28 21:40:00 +01:00
parent 868a373204
commit f7f194e067
11 changed files with 365 additions and 112 deletions

View File

@ -11,12 +11,13 @@ public class HelloApplication extends Application {
@Override @Override
public void start(Stage stage) throws IOException { public void start(Stage stage) throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml")); FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
Scene scene = new Scene(fxmlLoader.load()); Scene scene = new Scene(fxmlLoader.load(),1000, 750);
stage.setTitle("Hello!"); stage.setTitle("Mittagsbestellung");
stage.setScene(scene); stage.setScene(scene);
stage.show(); stage.show();
HelloController controller = fxmlLoader.getController(); HelloController controller = fxmlLoader.getController();
controller.FillLabels(); controller.FillLabels();
controller.writeAllergene();
} }
public static void main(String[] args) { public static void main(String[] args) {

View File

@ -59,6 +59,9 @@ public class HelloController {
@FXML @FXML
private PasswordField pfPassword; private PasswordField pfPassword;
@FXML
private Label allergene;
@FXML @FXML
protected void OnSignInButton() protected void OnSignInButton()
{ {
@ -189,4 +192,27 @@ public class HelloController {
} }
} }
/**
* writeAllergene() is a method to format and set allergene
* @author Madeleine Vigier
*/
@FXML
protected void writeAllergene() {
allergene.setText("a: Eier; b: Soja,\n"
+ "c: Milch; d: Erdnüsse;\n"
+ "e: Weichtiere; f: Krebstiere;\n"
+ "g: Getreide; h: Senf; i: Sesam;\n"
+ "j: Schwefeldioxid und Sulfit;\n"
+ "k: Nüsse; l: Sellerie;\n"
+ "m: Fische; n: Lupinen\n\n"
+ "1: Nitrit-Pökelsalz\n"
+ "2:Phosphat\n"
+ "3: Nitrat\n"
+ "4: Antioxidationsmittel\n"
+ "5: Farbstoff\n"
+ "6: Geschmacksverstärker;\n"
+ "7: Süßungsmittel;\n"
+ "8: Konservierungsstoff");
}
} }

View File

@ -1,94 +1,207 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.*?> <?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?> <?import javafx.scene.control.Button?>
<?import javafx.scene.layout.*?> <?import javafx.scene.control.Label?>
<?import javafx.scene.shape.*?> <?import javafx.scene.control.PasswordField?>
<?import javafx.scene.text.*?> <?import javafx.scene.control.TextField?>
<?import javafx.scene.control.ToolBar?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.shape.Line?>
<?import javafx.scene.text.Font?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="745.0" prefWidth="763.0" style="-fx-background-color: #feb782;" xmlns="http://javafx.com/javafx/11.0.14-internal" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.vpr_javafx.HelloController"> <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="742.0" prefWidth="980.0" style="-fx-background-color: #f0C8bd;" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.vpr_javafx.HelloController">
<Label layoutX="27.0" layoutY="160.0" style="-fx-font-weight: bold; -fx-font-family: century gothic; -fx-font-size: 14; -fx-text-fill: #746FA6;" text="Montag" textFill="BLUE"> <Label layoutX="76.0" layoutY="176.0" text="Montag" textFill="#6f7baf">
<font> <font>
<Font name="Century Gothic" size="13.0" /> <Font name="Century Gothic Bold" size="13.0" />
</font> </font>
<opaqueInsets> <opaqueInsets>
<Insets /> <Insets />
</opaqueInsets> </opaqueInsets>
</Label> </Label>
<Label layoutX="25.0" layoutY="283.0" style="-fx-font-weight: bold; -fx-font-family: century gothic; -fx-font-size: 14; -fx-text-fill: #746FA6;" text="Dienstag" textFill="BLUE"> <Label layoutX="74.0" layoutY="299.0" text="Dienstag" textFill="#6f7baf">
<font> <font>
<Font name="Century Gothic" size="13.0" /> <Font name="Century Gothic Bold" size="13.0" />
</font> </font>
<opaqueInsets> <opaqueInsets>
<Insets /> <Insets />
</opaqueInsets> </opaqueInsets>
</Label> </Label>
<Label layoutX="23.0" layoutY="406.0" style="-fx-font-weight: bold; -fx-font-family: century gothic; -fx-font-size: 14; -fx-text-fill: #746FA6;" text="Mittwoch" textFill="BLUE"> <Label layoutX="72.0" layoutY="422.0" text="Mittwoch" textFill="#6f7baf">
<font> <font>
<Font name="Century Gothic" size="13.0" /> <Font name="Century Gothic Bold" size="13.0" />
</font> </font>
<opaqueInsets> <opaqueInsets>
<Insets /> <Insets />
</opaqueInsets> </opaqueInsets>
</Label> </Label>
<Label layoutX="14.0" layoutY="527.0" style="-fx-font-weight: bold; -fx-font-family: century gothic; -fx-font-size: 14; -fx-text-fill: #746FA6;" text="Donnerstag" textFill="BLUE"> <Label layoutX="63.0" layoutY="543.0" text="Donnerstag" textFill="#6f7baf">
<font> <font>
<Font name="Century Gothic" size="13.0" /> <Font name="Century Gothic Bold" size="13.0" />
</font> </font>
<opaqueInsets> <opaqueInsets>
<Insets /> <Insets />
</opaqueInsets> </opaqueInsets>
</Label> </Label>
<Label layoutX="30.0" layoutY="648.0" style="-fx-font-weight: bold; -fx-font-family: century gothic; -fx-font-size: 14; -fx-text-fill: #746FA6;" text="Freitag" textFill="BLUE"> <Label layoutX="79.0" layoutY="664.0" text="Freitag" textFill="#6f7baf">
<font> <font>
<Font name="Century Gothic" size="13.0" /> <Font name="Century Gothic Bold" size="13.0" />
</font> </font>
<opaqueInsets> <opaqueInsets>
<Insets /> <Insets />
</opaqueInsets> </opaqueInsets>
</Label> </Label>
<ToolBar layoutX="38.0" layoutY="32.0" prefHeight="54.0" prefWidth="671.0" style="-fx-background-color: #746FA6; -fx-padding: right;"> <ToolBar layoutX="63.0" layoutY="35.0" prefHeight="54.0" prefWidth="793.0" style="-fx-background-color: #6f7baf; -fx-padding: right;">
<items> <items>
<Label style="-fx-alignment: left;" text="Menüplan" textFill="#f0c88d"> <ImageView fitHeight="43.0" fitWidth="69.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@pics/fleischer.JPG" />
</image>
</ImageView>
<Label style="-fx-alignment: left;" text="Menüplan" textFill="#f0c8cb">
<font> <font>
<Font name="Century Gothic" size="18.0" /> <Font name="Century Gothic Bold" size="18.0" />
</font></Label> </font></Label>
<Label style="-fx-font-family: century gothic;" text="Telefonnummer" textFill="WHITE" /> <Label text="Telefonnummer" textFill="WHITE">
<TextField fx:id="tfPhone" prefHeight="26.0" prefWidth="150.0" style="-fx-background-color: #feb782;" /> <font>
<Label style="-fx-font-family: century gothic;" text="Passwort" textFill="WHITE" /> <Font name="Century Gothic" size="12.0" />
<PasswordField fx:id="pfPassword" style="-fx-background-color: #feb782;" /> </font></Label>
<Button mnemonicParsing="false" onAction="#OnSignInButton" style="-fx-background-color: #2da9cf; -fx-font-family: century gothic;" text="anmelden" textFill="WHITE" /> <TextField fx:id="tfPhone" prefHeight="26.0" prefWidth="150.0" style="-fx-background-color: #f0c8cb;" />
<Label text="Passwort" textFill="WHITE">
<font>
<Font name="Century Gothic" size="12.0" />
</font></Label>
<PasswordField fx:id="pfPassword" style="-fx-background-color: #f0c8cb;" />
<Button mnemonicParsing="false" onAction="#OnSignInButton" style="-fx-background-color: #c7d0f0;" text="anmelden" textFill="WHITE" />
</items> </items>
</ToolBar> </ToolBar>
<Separator layoutX="92.0" layoutY="98.0" orientation="VERTICAL" prefHeight="634.0" prefWidth="8.0" style="-fx-background-color: #746FA6;" /> <Line endX="100.0" layoutX="245.0" layoutY="310.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="197.0" layoutY="292.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="245.0" layoutY="187.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="197.0" layoutY="169.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="245.0" layoutY="433.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="197.0" layoutY="415.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="245.0" layoutY="554.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="197.0" layoutY="536.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="245.0" layoutY="675.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="197.0" layoutY="657.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="581.0" layoutY="187.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="533.0" layoutY="169.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="581.0" layoutY="310.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="533.0" layoutY="292.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="581.0" layoutY="433.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="533.0" layoutY="415.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="581.0" layoutY="554.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="533.0" layoutY="536.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="581.0" layoutY="675.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="533.0" layoutY="657.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Label fx:id="lMonH1" layoutX="148.0" layoutY="140.0" prefHeight="44.0" prefWidth="198.0" textFill="#6f7baf">
<Label fx:id="lMonH1" layoutX="100.0" layoutY="124.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" /> <font>
<Label fx:id="lMonH2" layoutX="100.0" layoutY="170.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" /> <Font name="Century Gothic Bold" size="13.0" />
<Label fx:id="lTueH1" layoutX="100.0" layoutY="249.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> </font></Label>
<Label fx:id="lTueH2" layoutX="100.0" layoutY="293.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Label fx:id="lMonH2" layoutX="148.0" layoutY="186.0" prefHeight="44.0" prefWidth="198.0" textFill="#6f7baf">
<Label fx:id="lWednH1" layoutX="100.0" layoutY="372.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <font>
<Label fx:id="lWednH2" layoutX="100.0" layoutY="416.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Font name="Century Gothic Bold" size="13.0" />
<Label fx:id="lThurH1" layoutX="100.0" layoutY="493.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> </font></Label>
<Label fx:id="lThurH2" layoutX="100.0" layoutY="537.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Label fx:id="lTueH1" layoutX="148.0" layoutY="265.0" prefHeight="44.0" prefWidth="198.0" text="" textFill="#6f7baf">
<Label fx:id="lFriH1" layoutX="100.0" layoutY="613.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <font>
<Label fx:id="lFriH2" layoutX="100.0" layoutY="658.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Font name="Century Gothic Bold" size="13.0" />
<Label fx:id="lMonD1" layoutX="432.0" layoutY="126.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> </font></Label>
<Label fx:id="lMonD2" layoutX="432.0" layoutY="170.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Label fx:id="lTueH2" layoutX="148.0" layoutY="309.0" prefHeight="44.0" prefWidth="198.0" text="" textFill="#6f7baf">
<Label fx:id="lTueD1" layoutX="432.0" layoutY="249.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <font>
<Label fx:id="lTueD2" layoutX="432.0" layoutY="293.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Font name="Century Gothic Bold" size="13.0" />
<Label fx:id="lWednD1" layoutX="432.0" layoutY="372.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> </font></Label>
<Label fx:id="lWednD2" layoutX="432.0" layoutY="416.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Label fx:id="lWednH1" layoutX="148.0" layoutY="388.0" prefHeight="44.0" prefWidth="198.0" text="" textFill="#6f7baf">
<Label fx:id="lThurD1" layoutX="432.0" layoutY="493.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <font>
<Label fx:id="lThurD2" layoutX="432.0" layoutY="537.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Font name="Century Gothic Bold" size="13.0" />
<Label fx:id="lFriD1" layoutX="432.0" layoutY="614.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> </font></Label>
<Label fx:id="lFriD2" layoutX="432.0" layoutY="658.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Label fx:id="lWednH2" layoutX="148.0" layoutY="432.0" prefHeight="44.0" prefWidth="198.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lThurH1" layoutX="148.0" layoutY="509.0" prefHeight="44.0" prefWidth="198.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lThurH2" layoutX="148.0" layoutY="553.0" prefHeight="44.0" prefWidth="198.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lFriH1" layoutX="148.0" layoutY="629.0" prefHeight="44.0" prefWidth="198.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lFriH2" layoutX="148.0" layoutY="674.0" prefHeight="44.0" prefWidth="198.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lMonD1" layoutX="482.0" layoutY="142.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lMonD2" layoutX="482.0" layoutY="186.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lTueD1" layoutX="482.0" layoutY="265.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lTueD2" layoutX="482.0" layoutY="309.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lWednD1" layoutX="482.0" layoutY="388.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lWednD2" layoutX="482.0" layoutY="432.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lThurD1" layoutX="482.0" layoutY="509.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lThurD2" layoutX="482.0" layoutY="553.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lFriD1" layoutX="482.0" layoutY="630.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lFriD2" layoutX="482.0" layoutY="674.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Line endX="-99.99999237060547" endY="390.5999755859375" layoutX="243.0" layoutY="352.0" startX="-99.99998474121094" startY="-223.20001220703125" stroke="#746fa6" strokeWidth="3.0" />
<ImageView fitHeight="107.0" fitWidth="138.0" layoutX="820.0" layoutY="9.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@pics/logo.png" />
</image>
</ImageView>
<ImageView fitHeight="35.0" fitWidth="40.0" layoutX="780.0" layoutY="175.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@pics/vegan.png" />
</image>
</ImageView>
<Label layoutX="823.0" layoutY="185.0" text="Vegan">
<font>
<Font name="Century Gothic" size="11.0" />
</font>
</Label>
<ImageView fitHeight="35.0" fitWidth="40.0" layoutX="780.0" layoutY="236.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@pics/vegetarisch.png" />
</image>
</ImageView>
<ImageView fitHeight="35.0" fitWidth="35.0" layoutX="780.0" layoutY="298.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@pics/fleisch.png" />
</image>
</ImageView>
<Label layoutX="825.0" layoutY="245.0" text="Vegetarisch">
<font>
<Font name="Century Gothic" size="11.0" />
</font>
</Label>
<Label layoutX="828.0" layoutY="307.0" text="mit Fleisch">
<font>
<Font name="Century Gothic" size="11.0" />
</font>
</Label>
<Label fx:id="allergene" layoutX="780.0" layoutY="362.0" prefHeight="183.0" prefWidth="192.0" />
</AnchorPane> </AnchorPane>

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -1,94 +1,207 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.*?> <?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?> <?import javafx.scene.control.Button?>
<?import javafx.scene.layout.*?> <?import javafx.scene.control.Label?>
<?import javafx.scene.shape.*?> <?import javafx.scene.control.PasswordField?>
<?import javafx.scene.text.*?> <?import javafx.scene.control.TextField?>
<?import javafx.scene.control.ToolBar?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.shape.Line?>
<?import javafx.scene.text.Font?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="745.0" prefWidth="763.0" style="-fx-background-color: #feb782;" xmlns="http://javafx.com/javafx/11.0.14-internal" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.vpr_javafx.HelloController"> <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="742.0" prefWidth="980.0" style="-fx-background-color: #f0C8bd;" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.vpr_javafx.HelloController">
<Label layoutX="27.0" layoutY="160.0" style="-fx-font-weight: bold; -fx-font-family: century gothic; -fx-font-size: 14; -fx-text-fill: #746FA6;" text="Montag" textFill="BLUE"> <Label layoutX="76.0" layoutY="176.0" text="Montag" textFill="#6f7baf">
<font> <font>
<Font name="Century Gothic" size="13.0" /> <Font name="Century Gothic Bold" size="13.0" />
</font> </font>
<opaqueInsets> <opaqueInsets>
<Insets /> <Insets />
</opaqueInsets> </opaqueInsets>
</Label> </Label>
<Label layoutX="25.0" layoutY="283.0" style="-fx-font-weight: bold; -fx-font-family: century gothic; -fx-font-size: 14; -fx-text-fill: #746FA6;" text="Dienstag" textFill="BLUE"> <Label layoutX="74.0" layoutY="299.0" text="Dienstag" textFill="#6f7baf">
<font> <font>
<Font name="Century Gothic" size="13.0" /> <Font name="Century Gothic Bold" size="13.0" />
</font> </font>
<opaqueInsets> <opaqueInsets>
<Insets /> <Insets />
</opaqueInsets> </opaqueInsets>
</Label> </Label>
<Label layoutX="23.0" layoutY="406.0" style="-fx-font-weight: bold; -fx-font-family: century gothic; -fx-font-size: 14; -fx-text-fill: #746FA6;" text="Mittwoch" textFill="BLUE"> <Label layoutX="72.0" layoutY="422.0" text="Mittwoch" textFill="#6f7baf">
<font> <font>
<Font name="Century Gothic" size="13.0" /> <Font name="Century Gothic Bold" size="13.0" />
</font> </font>
<opaqueInsets> <opaqueInsets>
<Insets /> <Insets />
</opaqueInsets> </opaqueInsets>
</Label> </Label>
<Label layoutX="14.0" layoutY="527.0" style="-fx-font-weight: bold; -fx-font-family: century gothic; -fx-font-size: 14; -fx-text-fill: #746FA6;" text="Donnerstag" textFill="BLUE"> <Label layoutX="63.0" layoutY="543.0" text="Donnerstag" textFill="#6f7baf">
<font> <font>
<Font name="Century Gothic" size="13.0" /> <Font name="Century Gothic Bold" size="13.0" />
</font> </font>
<opaqueInsets> <opaqueInsets>
<Insets /> <Insets />
</opaqueInsets> </opaqueInsets>
</Label> </Label>
<Label layoutX="30.0" layoutY="648.0" style="-fx-font-weight: bold; -fx-font-family: century gothic; -fx-font-size: 14; -fx-text-fill: #746FA6;" text="Freitag" textFill="BLUE"> <Label layoutX="79.0" layoutY="664.0" text="Freitag" textFill="#6f7baf">
<font> <font>
<Font name="Century Gothic" size="13.0" /> <Font name="Century Gothic Bold" size="13.0" />
</font> </font>
<opaqueInsets> <opaqueInsets>
<Insets /> <Insets />
</opaqueInsets> </opaqueInsets>
</Label> </Label>
<ToolBar layoutX="38.0" layoutY="32.0" prefHeight="54.0" prefWidth="671.0" style="-fx-background-color: #746FA6; -fx-padding: right;"> <ToolBar layoutX="63.0" layoutY="35.0" prefHeight="54.0" prefWidth="793.0" style="-fx-background-color: #6f7baf; -fx-padding: right;">
<items> <items>
<Label style="-fx-alignment: left;" text="Menüplan" textFill="#f0c88d"> <ImageView fitHeight="43.0" fitWidth="69.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@pics/fleischer.JPG" />
</image>
</ImageView>
<Label style="-fx-alignment: left;" text="Menüplan" textFill="#f0c8cb">
<font> <font>
<Font name="Century Gothic" size="18.0" /> <Font name="Century Gothic Bold" size="18.0" />
</font></Label> </font></Label>
<Label style="-fx-font-family: century gothic;" text="Telefonnummer" textFill="WHITE" /> <Label text="Telefonnummer" textFill="WHITE">
<TextField fx:id="tfPhone" prefHeight="26.0" prefWidth="150.0" style="-fx-background-color: #feb782;" /> <font>
<Label style="-fx-font-family: century gothic;" text="Passwort" textFill="WHITE" /> <Font name="Century Gothic" size="12.0" />
<PasswordField fx:id="pfPassword" style="-fx-background-color: #feb782;" /> </font></Label>
<Button mnemonicParsing="false" onAction="#OnSignInButton" style="-fx-background-color: #2da9cf; -fx-font-family: century gothic;" text="anmelden" textFill="WHITE" /> <TextField fx:id="tfPhone" prefHeight="26.0" prefWidth="150.0" style="-fx-background-color: #f0c8cb;" />
<Label text="Passwort" textFill="WHITE">
<font>
<Font name="Century Gothic" size="12.0" />
</font></Label>
<PasswordField fx:id="pfPassword" style="-fx-background-color: #f0c8cb;" />
<Button mnemonicParsing="false" onAction="#OnSignInButton" style="-fx-background-color: #c7d0f0;" text="anmelden" textFill="WHITE" />
</items> </items>
</ToolBar> </ToolBar>
<Separator layoutX="92.0" layoutY="98.0" orientation="VERTICAL" prefHeight="634.0" prefWidth="8.0" style="-fx-background-color: #746FA6;" /> <Line endX="100.0" layoutX="245.0" layoutY="310.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="197.0" layoutY="292.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="245.0" layoutY="187.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="197.0" layoutY="169.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="245.0" layoutY="433.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="197.0" layoutY="415.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="245.0" layoutY="554.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="197.0" layoutY="536.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="245.0" layoutY="675.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="197.0" layoutY="657.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="581.0" layoutY="187.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="533.0" layoutY="169.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="581.0" layoutY="310.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="533.0" layoutY="292.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="581.0" layoutY="433.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="533.0" layoutY="415.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="581.0" layoutY="554.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="533.0" layoutY="536.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Line endX="100.0" layoutX="581.0" layoutY="675.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" />
<Line endX="100.0" layoutX="533.0" layoutY="657.0" startX="-100.0" stroke="#746fa6" strokeWidth="3.0" /> <Label fx:id="lMonH1" layoutX="148.0" layoutY="140.0" prefHeight="44.0" prefWidth="198.0" textFill="#6f7baf">
<Label fx:id="lMonH1" layoutX="100.0" layoutY="124.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" /> <font>
<Label fx:id="lMonH2" layoutX="100.0" layoutY="170.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" /> <Font name="Century Gothic Bold" size="13.0" />
<Label fx:id="lTueH1" layoutX="100.0" layoutY="249.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> </font></Label>
<Label fx:id="lTueH2" layoutX="100.0" layoutY="293.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Label fx:id="lMonH2" layoutX="148.0" layoutY="186.0" prefHeight="44.0" prefWidth="198.0" textFill="#6f7baf">
<Label fx:id="lWednH1" layoutX="100.0" layoutY="372.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <font>
<Label fx:id="lWednH2" layoutX="100.0" layoutY="416.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Font name="Century Gothic Bold" size="13.0" />
<Label fx:id="lThurH1" layoutX="100.0" layoutY="493.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> </font></Label>
<Label fx:id="lThurH2" layoutX="100.0" layoutY="537.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Label fx:id="lTueH1" layoutX="148.0" layoutY="265.0" prefHeight="44.0" prefWidth="198.0" text="" textFill="#6f7baf">
<Label fx:id="lFriH1" layoutX="100.0" layoutY="613.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <font>
<Label fx:id="lFriH2" layoutX="100.0" layoutY="658.0" prefHeight="44.0" prefWidth="198.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Font name="Century Gothic Bold" size="13.0" />
<Label fx:id="lMonD1" layoutX="432.0" layoutY="126.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> </font></Label>
<Label fx:id="lMonD2" layoutX="432.0" layoutY="170.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Label fx:id="lTueH2" layoutX="148.0" layoutY="309.0" prefHeight="44.0" prefWidth="198.0" text="" textFill="#6f7baf">
<Label fx:id="lTueD1" layoutX="432.0" layoutY="249.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <font>
<Label fx:id="lTueD2" layoutX="432.0" layoutY="293.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Font name="Century Gothic Bold" size="13.0" />
<Label fx:id="lWednD1" layoutX="432.0" layoutY="372.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> </font></Label>
<Label fx:id="lWednD2" layoutX="432.0" layoutY="416.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Label fx:id="lWednH1" layoutX="148.0" layoutY="388.0" prefHeight="44.0" prefWidth="198.0" text="" textFill="#6f7baf">
<Label fx:id="lThurD1" layoutX="432.0" layoutY="493.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <font>
<Label fx:id="lThurD2" layoutX="432.0" layoutY="537.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Font name="Century Gothic Bold" size="13.0" />
<Label fx:id="lFriD1" layoutX="432.0" layoutY="614.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> </font></Label>
<Label fx:id="lFriD2" layoutX="432.0" layoutY="658.0" prefHeight="44.0" prefWidth="203.0" style="-fx-font-family: century gothic; -fx-font-size: 16; -fx-text-fill: #746FA6; -fx-font-weight: bold;" text="" /> <Label fx:id="lWednH2" layoutX="148.0" layoutY="432.0" prefHeight="44.0" prefWidth="198.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lThurH1" layoutX="148.0" layoutY="509.0" prefHeight="44.0" prefWidth="198.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lThurH2" layoutX="148.0" layoutY="553.0" prefHeight="44.0" prefWidth="198.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lFriH1" layoutX="148.0" layoutY="629.0" prefHeight="44.0" prefWidth="198.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lFriH2" layoutX="148.0" layoutY="674.0" prefHeight="44.0" prefWidth="198.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lMonD1" layoutX="482.0" layoutY="142.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lMonD2" layoutX="482.0" layoutY="186.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lTueD1" layoutX="482.0" layoutY="265.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lTueD2" layoutX="482.0" layoutY="309.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lWednD1" layoutX="482.0" layoutY="388.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lWednD2" layoutX="482.0" layoutY="432.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lThurD1" layoutX="482.0" layoutY="509.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lThurD2" layoutX="482.0" layoutY="553.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lFriD1" layoutX="482.0" layoutY="630.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Label fx:id="lFriD2" layoutX="482.0" layoutY="674.0" prefHeight="44.0" prefWidth="203.0" text="" textFill="#6f7baf">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></Label>
<Line endX="-99.99999237060547" endY="390.5999755859375" layoutX="243.0" layoutY="352.0" startX="-99.99998474121094" startY="-223.20001220703125" stroke="#746fa6" strokeWidth="3.0" />
<ImageView fitHeight="107.0" fitWidth="138.0" layoutX="820.0" layoutY="9.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@pics/logo.png" />
</image>
</ImageView>
<ImageView fitHeight="35.0" fitWidth="40.0" layoutX="780.0" layoutY="175.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@pics/vegan.png" />
</image>
</ImageView>
<Label layoutX="823.0" layoutY="185.0" text="Vegan">
<font>
<Font name="Century Gothic" size="11.0" />
</font>
</Label>
<ImageView fitHeight="35.0" fitWidth="40.0" layoutX="780.0" layoutY="236.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@pics/vegetarisch.png" />
</image>
</ImageView>
<ImageView fitHeight="35.0" fitWidth="35.0" layoutX="780.0" layoutY="298.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@pics/fleisch.png" />
</image>
</ImageView>
<Label layoutX="825.0" layoutY="245.0" text="Vegetarisch">
<font>
<Font name="Century Gothic" size="11.0" />
</font>
</Label>
<Label layoutX="828.0" layoutY="307.0" text="mit Fleisch">
<font>
<Font name="Century Gothic" size="11.0" />
</font>
</Label>
<Label fx:id="allergene" layoutX="780.0" layoutY="362.0" prefHeight="183.0" prefWidth="192.0" />
</AnchorPane> </AnchorPane>