Javafx Controller und view bearbeitet und einen Menüplan erstellt
This commit is contained in:
		@@ -11,10 +11,12 @@ public class HelloApplication extends Application {
 | 
			
		||||
    @Override
 | 
			
		||||
    public void start(Stage stage) throws IOException {
 | 
			
		||||
        FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
 | 
			
		||||
        Scene scene = new Scene(fxmlLoader.load(), 320, 240);
 | 
			
		||||
        Scene scene = new Scene(fxmlLoader.load());
 | 
			
		||||
        stage.setTitle("Hello!");
 | 
			
		||||
        stage.setScene(scene);
 | 
			
		||||
        stage.show();
 | 
			
		||||
        HelloController controller = fxmlLoader.getController();
 | 
			
		||||
        controller.FillLabels();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public static void main(String[] args) {
 | 
			
		||||
 
 | 
			
		||||
@@ -1,14 +1,192 @@
 | 
			
		||||
package com.example.vpr_javafx;
 | 
			
		||||
 | 
			
		||||
import javafx.fxml.FXML;
 | 
			
		||||
import javafx.scene.control.Alert;
 | 
			
		||||
import javafx.scene.control.Label;
 | 
			
		||||
import javafx.scene.control.PasswordField;
 | 
			
		||||
import javafx.scene.control.TextField;
 | 
			
		||||
 | 
			
		||||
import java.io.IOException;
 | 
			
		||||
import java.nio.file.Files;
 | 
			
		||||
import java.nio.file.Paths;
 | 
			
		||||
import java.util.HashMap;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
 | 
			
		||||
public class HelloController {
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label welcomeText;
 | 
			
		||||
    private Label lMonH1;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lMonH2;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lMonD1;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lMonD2;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lTueH1;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lTueH2;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lTueD1;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lTueD2;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lWednH1;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lWednH2;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lWednD1;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lWednD2;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lThurH1;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lThurH2;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lThurD1;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lThurD2;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lFriH1;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lFriH2;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lFriD1;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private Label lFriD2;
 | 
			
		||||
 | 
			
		||||
    @FXML
 | 
			
		||||
    protected void onHelloButtonClick() {
 | 
			
		||||
        welcomeText.setText("Welcome to JavaFX Application!");
 | 
			
		||||
    private TextField tfPhone;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private PasswordField pfPassword;
 | 
			
		||||
 | 
			
		||||
    @FXML
 | 
			
		||||
    protected void OnSignInButton()
 | 
			
		||||
    {
 | 
			
		||||
        LoginDatei file = new LoginDatei("user.txt");
 | 
			
		||||
        HashMap<String, String> users = file.readFile();
 | 
			
		||||
        Alert alert = new Alert(Alert.AlertType.INFORMATION);
 | 
			
		||||
 | 
			
		||||
        if (users.containsKey(tfPhone.getText()))
 | 
			
		||||
        {
 | 
			
		||||
            if (users.containsValue(pfPassword.getText()))
 | 
			
		||||
            {
 | 
			
		||||
                alert.setContentText("Erfolgreich eingelogt");
 | 
			
		||||
                alert.show();
 | 
			
		||||
            }
 | 
			
		||||
            else
 | 
			
		||||
            {
 | 
			
		||||
                alert.setContentText("Falsche Werte");
 | 
			
		||||
                alert.show();
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        else
 | 
			
		||||
        {
 | 
			
		||||
            alert.setContentText("Falsche Werte");
 | 
			
		||||
            alert.show();
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @FXML
 | 
			
		||||
    protected void FillLabels() {
 | 
			
		||||
        try {
 | 
			
		||||
 | 
			
		||||
            List<String> menu = Files.readAllLines(Paths.get("menue.txt"));
 | 
			
		||||
 | 
			
		||||
            for (int i = 0; i < menu.size(); i++)
 | 
			
		||||
            {
 | 
			
		||||
                String[] parts = menu.get(i).split(";");
 | 
			
		||||
 | 
			
		||||
                String dish = parts[1];
 | 
			
		||||
                String sideDish = parts[2];
 | 
			
		||||
 | 
			
		||||
                String dayMenu = dish+"\n"+sideDish;
 | 
			
		||||
 | 
			
		||||
                if (i == 0)
 | 
			
		||||
                {
 | 
			
		||||
                    lMonH1.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 1)
 | 
			
		||||
                {
 | 
			
		||||
                    lMonD1.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 2)
 | 
			
		||||
                {
 | 
			
		||||
                    lMonH2.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 3)
 | 
			
		||||
                {
 | 
			
		||||
                    lMonD2.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 4)
 | 
			
		||||
                {
 | 
			
		||||
                    lTueH1.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 5)
 | 
			
		||||
                {
 | 
			
		||||
                    lTueD1.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 6)
 | 
			
		||||
                {
 | 
			
		||||
                    lTueH2.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 7)
 | 
			
		||||
                {
 | 
			
		||||
                    lTueD2.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 8)
 | 
			
		||||
                {
 | 
			
		||||
                    lWednH1.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 9)
 | 
			
		||||
                {
 | 
			
		||||
                    lWednD1.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 10)
 | 
			
		||||
                {
 | 
			
		||||
                    lWednH2.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 11)
 | 
			
		||||
                {
 | 
			
		||||
                    lWednD2.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 12)
 | 
			
		||||
                {
 | 
			
		||||
                    lThurH1.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 13)
 | 
			
		||||
                {
 | 
			
		||||
                    lThurD1.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 14)
 | 
			
		||||
                {
 | 
			
		||||
                    lThurH2.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 15)
 | 
			
		||||
                {
 | 
			
		||||
                    lThurD2.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 16)
 | 
			
		||||
                {
 | 
			
		||||
                    lFriH1.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 17)
 | 
			
		||||
                {
 | 
			
		||||
                    lFriD1.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 18)
 | 
			
		||||
                {
 | 
			
		||||
                    lFriH2.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
                else if (i == 19)
 | 
			
		||||
                {
 | 
			
		||||
                    lFriD2.setText(dayMenu);
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        catch (IOException e) {
 | 
			
		||||
            e.printStackTrace();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -1,16 +1,94 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
 | 
			
		||||
<?import javafx.geometry.Insets?>
 | 
			
		||||
<?import javafx.scene.control.Label?>
 | 
			
		||||
<?import javafx.scene.layout.VBox?>
 | 
			
		||||
<?import javafx.geometry.*?>
 | 
			
		||||
<?import javafx.scene.control.*?>
 | 
			
		||||
<?import javafx.scene.layout.*?>
 | 
			
		||||
<?import javafx.scene.shape.*?>
 | 
			
		||||
<?import javafx.scene.text.*?>
 | 
			
		||||
 | 
			
		||||
<?import javafx.scene.control.Button?>
 | 
			
		||||
<VBox alignment="CENTER" spacing="20.0" xmlns:fx="http://javafx.com/fxml"
 | 
			
		||||
      fx:controller="com.example.vpr_javafx.HelloController">
 | 
			
		||||
    <padding>
 | 
			
		||||
        <Insets bottom="20.0" left="20.0" right="20.0" top="20.0"/>
 | 
			
		||||
    </padding>
 | 
			
		||||
 | 
			
		||||
    <Label fx:id="welcomeText"/>
 | 
			
		||||
    <Button text="Hello!" onAction="#onHelloButtonClick"/>
 | 
			
		||||
</VBox>
 | 
			
		||||
<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">
 | 
			
		||||
    <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">
 | 
			
		||||
        <font>
 | 
			
		||||
            <Font name="Century Gothic" size="13.0" />
 | 
			
		||||
        </font>
 | 
			
		||||
        <opaqueInsets>
 | 
			
		||||
            <Insets />
 | 
			
		||||
        </opaqueInsets>
 | 
			
		||||
    </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">
 | 
			
		||||
        <font>
 | 
			
		||||
            <Font name="Century Gothic" size="13.0" />
 | 
			
		||||
        </font>
 | 
			
		||||
        <opaqueInsets>
 | 
			
		||||
            <Insets />
 | 
			
		||||
        </opaqueInsets>
 | 
			
		||||
    </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">
 | 
			
		||||
        <font>
 | 
			
		||||
            <Font name="Century Gothic" size="13.0" />
 | 
			
		||||
        </font>
 | 
			
		||||
        <opaqueInsets>
 | 
			
		||||
            <Insets />
 | 
			
		||||
        </opaqueInsets>
 | 
			
		||||
    </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">
 | 
			
		||||
        <font>
 | 
			
		||||
            <Font name="Century Gothic" size="13.0" />
 | 
			
		||||
        </font>
 | 
			
		||||
        <opaqueInsets>
 | 
			
		||||
            <Insets />
 | 
			
		||||
        </opaqueInsets>
 | 
			
		||||
    </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">
 | 
			
		||||
        <font>
 | 
			
		||||
            <Font name="Century Gothic" size="13.0" />
 | 
			
		||||
        </font>
 | 
			
		||||
        <opaqueInsets>
 | 
			
		||||
            <Insets />
 | 
			
		||||
        </opaqueInsets>
 | 
			
		||||
    </Label>
 | 
			
		||||
    <ToolBar layoutX="38.0" layoutY="32.0" prefHeight="54.0" prefWidth="671.0" style="-fx-background-color: #746FA6; -fx-padding: right;">
 | 
			
		||||
        <items>
 | 
			
		||||
            <Label style="-fx-alignment: left;" text="Menüplan" textFill="#f0c88d">
 | 
			
		||||
                <font>
 | 
			
		||||
                    <Font name="Century Gothic" size="18.0" />
 | 
			
		||||
                </font></Label>
 | 
			
		||||
            <Label style="-fx-font-family: century gothic;" text="Telefonnummer" textFill="WHITE" />
 | 
			
		||||
            <TextField fx:id="tfPhone" prefHeight="26.0" prefWidth="150.0" style="-fx-background-color: #feb782;" />
 | 
			
		||||
            <Label style="-fx-font-family: century gothic;" text="Passwort" textFill="WHITE" />
 | 
			
		||||
            <PasswordField fx:id="pfPassword" style="-fx-background-color: #feb782;" />
 | 
			
		||||
            <Button mnemonicParsing="false" onAction="#OnSignInButton" style="-fx-background-color: #2da9cf; -fx-font-family: century gothic;" text="anmelden" textFill="WHITE" />
 | 
			
		||||
        </items>
 | 
			
		||||
    </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="197.0" layoutY="292.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="197.0" layoutY="415.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="197.0" layoutY="657.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="533.0" layoutY="292.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="533.0" layoutY="536.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="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;" />
 | 
			
		||||
    <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;" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
</AnchorPane>
 | 
			
		||||
 
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							@@ -1,16 +1,94 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
 | 
			
		||||
<?import javafx.geometry.Insets?>
 | 
			
		||||
<?import javafx.scene.control.Label?>
 | 
			
		||||
<?import javafx.scene.layout.VBox?>
 | 
			
		||||
<?import javafx.geometry.*?>
 | 
			
		||||
<?import javafx.scene.control.*?>
 | 
			
		||||
<?import javafx.scene.layout.*?>
 | 
			
		||||
<?import javafx.scene.shape.*?>
 | 
			
		||||
<?import javafx.scene.text.*?>
 | 
			
		||||
 | 
			
		||||
<?import javafx.scene.control.Button?>
 | 
			
		||||
<VBox alignment="CENTER" spacing="20.0" xmlns:fx="http://javafx.com/fxml"
 | 
			
		||||
      fx:controller="com.example.vpr_javafx.HelloController">
 | 
			
		||||
    <padding>
 | 
			
		||||
        <Insets bottom="20.0" left="20.0" right="20.0" top="20.0"/>
 | 
			
		||||
    </padding>
 | 
			
		||||
 | 
			
		||||
    <Label fx:id="welcomeText"/>
 | 
			
		||||
    <Button text="Hello!" onAction="#onHelloButtonClick"/>
 | 
			
		||||
</VBox>
 | 
			
		||||
<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">
 | 
			
		||||
    <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">
 | 
			
		||||
        <font>
 | 
			
		||||
            <Font name="Century Gothic" size="13.0" />
 | 
			
		||||
        </font>
 | 
			
		||||
        <opaqueInsets>
 | 
			
		||||
            <Insets />
 | 
			
		||||
        </opaqueInsets>
 | 
			
		||||
    </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">
 | 
			
		||||
        <font>
 | 
			
		||||
            <Font name="Century Gothic" size="13.0" />
 | 
			
		||||
        </font>
 | 
			
		||||
        <opaqueInsets>
 | 
			
		||||
            <Insets />
 | 
			
		||||
        </opaqueInsets>
 | 
			
		||||
    </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">
 | 
			
		||||
        <font>
 | 
			
		||||
            <Font name="Century Gothic" size="13.0" />
 | 
			
		||||
        </font>
 | 
			
		||||
        <opaqueInsets>
 | 
			
		||||
            <Insets />
 | 
			
		||||
        </opaqueInsets>
 | 
			
		||||
    </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">
 | 
			
		||||
        <font>
 | 
			
		||||
            <Font name="Century Gothic" size="13.0" />
 | 
			
		||||
        </font>
 | 
			
		||||
        <opaqueInsets>
 | 
			
		||||
            <Insets />
 | 
			
		||||
        </opaqueInsets>
 | 
			
		||||
    </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">
 | 
			
		||||
        <font>
 | 
			
		||||
            <Font name="Century Gothic" size="13.0" />
 | 
			
		||||
        </font>
 | 
			
		||||
        <opaqueInsets>
 | 
			
		||||
            <Insets />
 | 
			
		||||
        </opaqueInsets>
 | 
			
		||||
    </Label>
 | 
			
		||||
    <ToolBar layoutX="38.0" layoutY="32.0" prefHeight="54.0" prefWidth="671.0" style="-fx-background-color: #746FA6; -fx-padding: right;">
 | 
			
		||||
        <items>
 | 
			
		||||
            <Label style="-fx-alignment: left;" text="Menüplan" textFill="#f0c88d">
 | 
			
		||||
                <font>
 | 
			
		||||
                    <Font name="Century Gothic" size="18.0" />
 | 
			
		||||
                </font></Label>
 | 
			
		||||
            <Label style="-fx-font-family: century gothic;" text="Telefonnummer" textFill="WHITE" />
 | 
			
		||||
            <TextField fx:id="tfPhone" prefHeight="26.0" prefWidth="150.0" style="-fx-background-color: #feb782;" />
 | 
			
		||||
            <Label style="-fx-font-family: century gothic;" text="Passwort" textFill="WHITE" />
 | 
			
		||||
            <PasswordField fx:id="pfPassword" style="-fx-background-color: #feb782;" />
 | 
			
		||||
            <Button mnemonicParsing="false" onAction="#OnSignInButton" style="-fx-background-color: #2da9cf; -fx-font-family: century gothic;" text="anmelden" textFill="WHITE" />
 | 
			
		||||
        </items>
 | 
			
		||||
    </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="197.0" layoutY="292.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="197.0" layoutY="415.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="197.0" layoutY="657.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="533.0" layoutY="292.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="533.0" layoutY="536.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="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;" />
 | 
			
		||||
    <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;" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
    <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="" />
 | 
			
		||||
</AnchorPane>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user