settingsview & Controller erstellt

This commit is contained in:
Richard Reiswich 2023-01-31 10:22:48 +01:00
parent 0550482a6b
commit 6747188668
4 changed files with 41 additions and 29 deletions

View File

@ -0,0 +1,4 @@
package com.bib.essensbestellungsverwaltung;
public class SettingsController {
}

View File

@ -9,15 +9,15 @@
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="860.0" prefWidth="850.0" stylesheets="@createCoworker.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.AdminController">
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="479.0" prefWidth="719.0" stylesheets="@createCoworker.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1">
<children>
<Label layoutX="301.0" layoutY="49.0" />
<Label layoutX="223.0" layoutY="76.0" prefHeight="28.0" prefWidth="220.0" text="Mitarbeiter hinzufügen">
<Label layoutX="230.0" layoutY="30.0" prefHeight="28.0" prefWidth="220.0" text="Mitarbeiter hinzufügen">
<font>
<Font size="18.0" />
</font>
</Label>
<VBox layoutX="223.0" layoutY="149.0" prefHeight="317.0" prefWidth="514.0">
<VBox layoutX="119.0" layoutY="95.0" prefHeight="317.0" prefWidth="331.0">
<children>
<HBox prefHeight="43.0" prefWidth="331.0">
<children>
@ -26,7 +26,7 @@
<Font size="16.0" />
</font>
</Label>
<TextField id="lastname" prefHeight="25.0" prefWidth="194.0" />
<TextField prefHeight="25.0" prefWidth="194.0" />
</children>
</HBox>
<HBox prefHeight="60.0" prefWidth="331.0">
@ -39,7 +39,7 @@
<Font size="16.0" />
</font>
</Label>
<TextField id="firstname" prefHeight="25.0" prefWidth="193.0">
<TextField prefHeight="25.0" prefWidth="193.0">
<HBox.margin>
<Insets top="10.0" />
</HBox.margin>
@ -56,7 +56,7 @@
<Insets top="10.0" />
</padding>
</Label>
<TextField id="street" prefHeight="25.0" prefWidth="195.0">
<TextField prefHeight="25.0" prefWidth="195.0">
<HBox.margin>
<Insets top="10.0" />
</HBox.margin>
@ -73,7 +73,7 @@
<Insets top="10.0" />
</padding>
</Label>
<TextField id="number" prefHeight="25.0" prefWidth="87.0">
<TextField prefHeight="25.0" prefWidth="87.0">
<HBox.margin>
<Insets top="10.0" />
</HBox.margin>
@ -87,7 +87,7 @@
<Font size="16.0" />
</font>
</Label>
<TextField id="plz" prefHeight="25.0" prefWidth="87.0">
<TextField prefHeight="25.0" prefWidth="87.0">
<HBox.margin>
<Insets />
</HBox.margin>
@ -104,7 +104,7 @@
<Font size="16.0" />
</font>
</Label>
<TextField id="city" prefHeight="13.0" prefWidth="194.0">
<TextField prefHeight="13.0" prefWidth="194.0">
<HBox.margin>
<Insets top="5.0" />
</HBox.margin>
@ -124,14 +124,14 @@
<Insets top="10.0" />
</padding>
</Label>
<TextField id="email" prefHeight="25.0" prefWidth="196.0">
<TextField prefHeight="25.0" prefWidth="196.0">
<HBox.margin>
<Insets top="10.0" />
</HBox.margin>
</TextField>
</children>
</HBox>
<HBox prefHeight="100.0" prefWidth="471.0">
<HBox prefHeight="100.0" prefWidth="200.0">
<children>
<Label prefHeight="35.0" prefWidth="122.0" text="Passwort">
<font>
@ -141,7 +141,7 @@
<Insets top="10.0" />
</padding>
</Label>
<TextField id="password" accessibleRole="PASSWORD_FIELD" prefHeight="25.0" prefWidth="194.0">
<TextField prefHeight="25.0" prefWidth="194.0">
<HBox.margin>
<Insets top="10.0" />
</HBox.margin>
@ -150,7 +150,7 @@
</HBox>
</children>
</VBox>
<Button id="btCreateCoworker" layoutX="216.0" layoutY="533.0" mnemonicParsing="false" prefHeight="44.0" prefWidth="158.0" text="Mitarbeiter hinzufügen" />
<Button id="btCancelCoworker" layoutX="443.0" layoutY="533.0" mnemonicParsing="false" prefHeight="44.0" prefWidth="158.0" text="Abbrechen" />
<Button id="btCreateCoworker" layoutX="119.0" layoutY="412.0" mnemonicParsing="false" prefHeight="44.0" prefWidth="158.0" text="Mitarbeiter hinzufügen" />
<Button id="btCancelCoworker" layoutX="357.0" layoutY="412.0" mnemonicParsing="false" prefHeight="44.0" prefWidth="158.0" text="Abbrechen" />
</children>
</AnchorPane>

View File

@ -1,24 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.RadioButton?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<?import javafx.geometry.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="521.0" prefWidth="731.0" stylesheets="@createFood.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1">
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="521.0" prefWidth="731.0" stylesheets="@createFood.css" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1">
<children>
<Label alignment="CENTER" layoutX="234.0" layoutY="29.0" prefHeight="44.0" prefWidth="237.0" text="Gericht hinzufügen">
<Label alignment="CENTER" layoutX="247.0" layoutY="29.0" prefHeight="44.0" prefWidth="237.0" text="Gericht hinzufügen">
<font>
<Font size="18.0" />
</font>
</Label>
<VBox layoutX="112.0" layoutY="73.0" prefHeight="389.0" prefWidth="459.0">
<VBox layoutX="136.0" layoutY="73.0" prefHeight="389.0" prefWidth="459.0">
<children>
<HBox prefHeight="75.0" prefWidth="459.0">
<children>
@ -96,7 +90,7 @@
</HBox>
</children>
</VBox>
<Button id="btCreateFood" layoutX="106.0" layoutY="457.0" mnemonicParsing="false" prefHeight="50.0" prefWidth="145.0" text="Hinzufügen" />
<Button id="btCancelFood" layoutX="366.0" layoutY="457.0" mnemonicParsing="false" prefHeight="50.0" prefWidth="162.0" text="Abbrechen" />
<Button id="btCreateFood" layoutX="485.0" layoutY="464.0" mnemonicParsing="false" prefHeight="34.0" prefWidth="146.0" text="Hinzufügen" />
<Button id="btCancelFood" layoutX="102.0" layoutY="456.0" mnemonicParsing="false" prefHeight="50.0" prefWidth="162.0" text="Abbrechen" />
</children>
</AnchorPane>

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<AnchorPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="com.bib.essensbestellungsverwaltung.SettingsController"
prefHeight="400.0" prefWidth="600.0">
</AnchorPane>