diff options
author | Tharre <tharre3@gmail.com> | 2018-06-20 22:07:36 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2018-06-20 22:07:36 +0200 |
commit | 0c995a05985da749d93aa56eba976c7fc621a4fa (patch) | |
tree | 5b80394920705aae5e2b6004c3dfbd839c8b8fa3 /src/main/resources/fxml | |
parent | f5bc7925a8fbbe247972a6f0e0571cc7e92fbefa (diff) | |
parent | e21feb3ac772a5394dc5381b58142c3c061de716 (diff) | |
download | sepm-groupproject-0c995a05985da749d93aa56eba976c7fc621a4fa.tar.gz sepm-groupproject-0c995a05985da749d93aa56eba976c7fc621a4fa.tar.xz sepm-groupproject-0c995a05985da749d93aa56eba976c7fc621a4fa.zip |
Diffstat (limited to 'src/main/resources/fxml')
-rw-r--r-- | src/main/resources/fxml/ArchiveOperation.fxml | 121 | ||||
-rw-r--r-- | src/main/resources/fxml/CreateOperationController.fxml | 113 | ||||
-rw-r--r-- | src/main/resources/fxml/DetailArchiveOperation.fxml | 20 | ||||
-rw-r--r-- | src/main/resources/fxml/OperationDetails.fxml | 38 | ||||
-rw-r--r-- | src/main/resources/fxml/OperationInArchive.fxml | 60 | ||||
-rw-r--r-- | src/main/resources/fxml/RegistrationWindow.fxml | 152 | ||||
-rw-r--r-- | src/main/resources/fxml/createCar.fxml | 31 | ||||
-rw-r--r-- | src/main/resources/fxml/createNewEmployee.fxml | 37 | ||||
-rw-r--r-- | src/main/resources/fxml/employeeList.fxml | 17 | ||||
-rw-r--r-- | src/main/resources/fxml/employeeListItem.fxml | 59 | ||||
-rw-r--r-- | src/main/resources/fxml/filterEmployeesControl.fxml | 32 | ||||
-rw-r--r-- | src/main/resources/fxml/listEmployees.fxml | 41 | ||||
-rw-r--r-- | src/main/resources/fxml/manageEmployees.fxml | 40 | ||||
-rw-r--r-- | src/main/resources/fxml/vehiclePane.fxml | 101 |
14 files changed, 576 insertions, 286 deletions
diff --git a/src/main/resources/fxml/ArchiveOperation.fxml b/src/main/resources/fxml/ArchiveOperation.fxml index 88b5b39..9c22803 100644 --- a/src/main/resources/fxml/ArchiveOperation.fxml +++ b/src/main/resources/fxml/ArchiveOperation.fxml @@ -1,41 +1,58 @@ <?xml version="1.0" encoding="UTF-8"?> +<?import javafx.geometry.Insets?> <?import javafx.scene.control.Hyperlink?> <?import javafx.scene.control.Label?> <?import javafx.scene.control.ScrollPane?> +<?import javafx.scene.control.TextField?> +<?import javafx.scene.image.ImageView?> <?import javafx.scene.layout.AnchorPane?> +<?import javafx.scene.layout.ColumnConstraints?> <?import javafx.scene.layout.FlowPane?> +<?import javafx.scene.layout.GridPane?> +<?import javafx.scene.layout.RowConstraints?> <?import javafx.scene.text.Font?> -<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="650.0" prefWidth="1200.0" style="-fx-background-color: BLACK;" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.controller.ArchiveOperationController"> - <children> - <AnchorPane prefHeight="650.0" prefWidth="800.0" style="-fx-background-color: rgba(239,235,232,1);" AnchorPane.leftAnchor="200.0" /> - <ScrollPane prefHeight="650.0" prefWidth="800.0" AnchorPane.leftAnchor="200.0"> +<AnchorPane fx:id="archiveOperationAP" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="650.0" prefWidth="1000.0" style="-fx-background-color: rgba(239,235,232,1);" visible="false" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="at.ac.tuwien.sepm.assignment.groupphase.missioncontrol.controller.ArchiveOperationController"> + <children> + <ScrollPane hbarPolicy="NEVER" layoutX="43.0" layoutY="202.0" prefHeight="435.0" prefWidth="906.0" style="-fx-background-color: rgba(239,235,232,1);" vbarPolicy="NEVER" AnchorPane.leftAnchor="43.0"> <content> - <FlowPane fx:id="archiveOperationFlowPane" prefHeight="650.0" prefWidth="800.0" /> + <FlowPane fx:id="archiveOperationFlowPane" hgap="12" prefHeight="598.0" prefWidth="906.0" style="-fx-background-color: rgba(239,235,232,1);" vgap="12"> + <padding> + <Insets left="40.0" top="20.0" /> + </padding></FlowPane> </content> </ScrollPane> - <AnchorPane fx:id="apDetails" layoutX="201.0" prefHeight="650.0" prefWidth="800.0" style="-fx-background-color: rgba(239,235,232,1);" visible="false" AnchorPane.leftAnchor="201.0" AnchorPane.topAnchor="0.0"> + <AnchorPane fx:id="apDetails" layoutX="201.0" prefHeight="650.0" prefWidth="1000.0" style="-fx-background-color: rgba(239,235,232,1);" visible="false" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0"> <children> - <AnchorPane prefHeight="170.0" prefWidth="800.0" style="-fx-background-color: rgba(191,144,0,1);"> + <ScrollPane fitToWidth="true" hbarPolicy="NEVER" layoutY="211.0" prefHeight="424.0" prefWidth="840.0" style="-fx-background-color: rgba(239,235,232,1);" vbarPolicy="NEVER" AnchorPane.leftAnchor="82.0" AnchorPane.topAnchor="211.0"> + <content> + <FlowPane fx:id="fpVehicles" hgap="50" prefHeight="419.0" prefWidth="830.0" style="-fx-background-color: rgba(239,235,232,1);" vgap="50"> + <padding> + <Insets left="40.0" right="40.0" top="20.0" /> + </padding> + </FlowPane> + </content> + </ScrollPane> + <AnchorPane fx:id="backApDetails" prefHeight="170.0" prefWidth="1000.0" style="-fx-background-color: rgba(191,144,0,1);"> <children> - <Label layoutX="81.0" layoutY="20.0" prefHeight="34.0" prefWidth="116.0" text="Archiv-Eintrag:" textFill="WHITE"> + <Hyperlink layoutX="827.0" layoutY="33.0" onAction="#backClicked" text="Zurück" textFill="WHITE"> <font> - <Font name="System Bold" size="16.0" /> + <Font name="System Bold" size="20.0" /> </font> - </Label> - <Label fx:id="lblCodeHeader" layoutX="203.0" layoutY="20.0" prefHeight="34.0" prefWidth="116.0" textFill="WHITE"> + </Hyperlink> + <Label layoutX="80.0" layoutY="36.0" prefHeight="34.0" prefWidth="150.0" text="Archiv-Eintrag:" textFill="WHITE"> <font> - <Font name="System Bold" size="16.0" /> + <Font name="System Bold" size="20.0" /> </font> </Label> - <Hyperlink fx:id="hypBack" layoutX="656.0" layoutY="20.0" onAction="#backClicked" text="Zurück" textFill="WHITE"> + <Label fx:id="lblCodeHeader" layoutX="230.0" layoutY="36.0" prefHeight="34.0" prefWidth="116.0" textFill="WHITE"> <font> - <Font name="System Bold" size="16.0" /> + <Font name="System Bold" size="20.0" /> </font> - </Hyperlink> + </Label> </children></AnchorPane> - <AnchorPane layoutX="82.0" layoutY="60.0" prefHeight="150.0" prefWidth="636.0" style="-fx-background-color: white; -fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.8), 5, 0, 0, 5);"> + <AnchorPane layoutX="82.0" layoutY="81.0" prefHeight="99.0" prefWidth="822.0" style="-fx-background-color: white;" styleClass="shadowed"> <children> <Label fx:id="lblOpCode" layoutX="25.0" layoutY="22.0" prefHeight="26.0" prefWidth="116.0" text="Label"> <font> @@ -47,24 +64,80 @@ <Font size="15.0" /> </font> </Label> - <Label fx:id="lblVehicles" layoutX="58.0" layoutY="91.0" prefHeight="46.0" prefWidth="554.0" text="Label"> + <Label fx:id="lblVehicles" layoutX="83.0" layoutY="91.0" prefHeight="46.0" prefWidth="517.0" text="Label"> <font> <Font size="15.0" /> </font> </Label> - <Label fx:id="lblDate" alignment="CENTER_RIGHT" layoutX="482.0" layoutY="22.0" prefHeight="27.0" prefWidth="140.0" text="Label"> + <Label fx:id="lblDate" alignment="CENTER_RIGHT" layoutX="482.0" layoutY="22.0" prefHeight="27.0" prefWidth="140.0" text="Label" AnchorPane.rightAnchor="50.0"> <font> <Font name="System Bold" size="18.0" /> </font> </Label> + <ImageView fx:id="imvVehicleDetail" fitHeight="34.0" fitWidth="34.0" layoutX="26.0" layoutY="97.0" pickOnBounds="true" preserveRatio="true" /> + <Label fx:id="lblStatus" alignment="CENTER_RIGHT" layoutX="476.0" layoutY="91.0" prefHeight="27.0" prefWidth="301.0" text="Status: "> + <font> + <Font name="System Bold" size="15.0" /> + </font> + </Label> </children> </AnchorPane> - <ScrollPane fitToWidth="true" prefHeight="410.0" prefWidth="640.0" AnchorPane.leftAnchor="82.0" AnchorPane.topAnchor="225.0"> - <content> - <FlowPane fx:id="fpVehicles" prefHeight="410.0" prefWidth="640.0" /> - </content> - </ScrollPane> </children> </AnchorPane> - </children> + <AnchorPane fx:id="backApMain" prefHeight="170.0" prefWidth="1000.0" style="-fx-background-color: rgba(191,144,0,1);" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0"> + <children> + <Hyperlink layoutX="827.0" layoutY="33.0" onAction="#backToMain" text="Zurück" textFill="WHITE"> + <font> + <Font name="System Bold" size="20.0" /> + </font> + </Hyperlink> + <Label layoutX="80.0" layoutY="36.0" prefHeight="34.0" prefWidth="150.0" text="Archiv" textFill="WHITE"> + <font> + <Font name="System Bold" size="20.0" /> + </font> + </Label> + </children> + </AnchorPane> + <AnchorPane fx:id="apMainDetails" layoutX="82.0" layoutY="80.0" prefHeight="138.0" prefWidth="822.0" style="-fx-background-color: white;" styleClass="shadowed"> + <children> + <GridPane layoutY="14.0" prefHeight="114.0" prefWidth="804.0"> + <columnConstraints> + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> + </columnConstraints> + <rowConstraints> + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> + </rowConstraints> + <children> + <Label fx:id="lblOperations" text="Einsätze:"> + <font> + <Font name="System Bold" size="20.0" /> + </font> + </Label> + <Label fx:id="lblCompleted" text="abgeschlossen:" GridPane.rowIndex="1"> + <font> + <Font size="15.0" /> + </font> + </Label> + <Label fx:id="lblCancelled" text="storniert:" GridPane.rowIndex="2"> + <font> + <Font size="15.0" /> + </font> + </Label> + <Label text="Suche:" GridPane.columnIndex="1"> + <font> + <Font name="System Bold" size="20.0" /> + </font> + </Label> + <TextField fx:id="txtSearch" onKeyReleased="#searchInput" prefHeight="30.0" prefWidth="355.0" GridPane.columnIndex="1" GridPane.rowIndex="1" /> + </children> + <padding> + <Insets left="20.0" /> + </padding> + </GridPane> + </children> + </AnchorPane> + </children> </AnchorPane> diff --git a/src/main/resources/fxml/CreateOperationController.fxml b/src/main/resources/fxml/CreateOperationController.fxml index 0a09611..56e0c90 100644 --- a/src/main/resources/fxml/CreateOperationController.fxml +++ b/src/main/resources/fxml/CreateOperationController.fxml @@ -1,88 +1,83 @@ <?xml version="1.0" encoding="UTF-8"?> +<?import javafx.geometry.Insets?> <?import javafx.scene.control.Button?> <?import javafx.scene.control.Hyperlink?> <?import javafx.scene.control.Label?> <?import javafx.scene.control.ListView?> +<?import javafx.scene.control.ScrollPane?> <?import javafx.scene.control.TextField?> <?import javafx.scene.layout.AnchorPane?> +<?import javafx.scene.layout.ColumnConstraints?> <?import javafx.scene.layout.FlowPane?> +<?import javafx.scene.layout.GridPane?> +<?import javafx.scene.layout.RowConstraints?> <?import javafx.scene.text.Font?> -<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" - prefHeight="650.0" prefWidth="1200.0" xmlns="http://javafx.com/javafx/9.0.1" - xmlns:fx="http://javafx.com/fxml/1" - fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.controller.CreateOperationController" - stylesheets="@/styles/main.css"> - <AnchorPane prefHeight="182.0" style="-fx-background-color: #2D75B6;" AnchorPane.leftAnchor="0.0" - AnchorPane.topAnchor="0.0" AnchorPane.rightAnchor="0.0"/> - <AnchorPane fx:id="apCreateOperation" layoutX="40.0" layoutY="71.0" prefHeight="151.0" - prefWidth="920.0" - styleClass="bg-white, shadowed"> - <Label layoutX="14.0" layoutY="14.0" prefHeight="30.0" prefWidth="62.0" text="Code" - styleClass="text-medium"/> - <Label layoutX="185.0" layoutY="14.0" prefHeight="30.0" prefWidth="94.0" text="Adresse" - styleClass="text-medium"/> - <Label layoutX="587.0" layoutY="14.0" prefHeight="30.0" prefWidth="121.0" text="Anmerkung" - styleClass="text-medium"/> - <TextField fx:id="txtCode" layoutX="14.0" layoutY="48.0" prefHeight="39.0" - onKeyReleased="#onOperationCodeChanged" - prefWidth="163.0" styleClass="text-big"> + +<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="650.0" prefWidth="1200.0" styleClass="bg-gray-blue" stylesheets="@/styles/main.css" xmlns="http://javafx.com/javafx/8.0.121" xmlns:fx="http://javafx.com/fxml/1" fx:controller="at.ac.tuwien.sepm.assignment.groupphase.missioncontrol.controller.CreateOperationController"> + <AnchorPane prefHeight="182.0" styleClass="bg-blue" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" /> + <AnchorPane fx:id="apCreateOperation" layoutX="40.0" layoutY="71.0" prefHeight="151.0" prefWidth="920.0" styleClass="bg-white, shadowed"> + <Label layoutX="14.0" layoutY="14.0" prefHeight="30.0" prefWidth="62.0" styleClass="text-medium" text="Code" /> + <Label layoutX="185.0" layoutY="14.0" prefHeight="30.0" prefWidth="94.0" styleClass="text-medium" text="Adresse" /> + <Label layoutX="587.0" layoutY="14.0" prefHeight="30.0" prefWidth="121.0" styleClass="text-medium" text="Anmerkung" /> + <TextField fx:id="txtCode" layoutX="14.0" layoutY="48.0" onKeyReleased="#onOperationCodeChanged" prefHeight="39.0" prefWidth="163.0" styleClass="text-big"> <font> - <Font name="System Bold"/> + <Font name="System Bold" /> </font> </TextField> - <TextField fx:id="txtAddress" layoutX="185.0" layoutY="48.0" prefHeight="39.0" - prefWidth="396.0" styleClass="text-big"> + <TextField fx:id="txtAddress" layoutX="185.0" layoutY="48.0" prefHeight="39.0" prefWidth="396.0" styleClass="text-big"> <font> - <Font name="System Bold"/> + <Font name="System Bold" /> </font> </TextField> - <TextField fx:id="txtNote" layoutX="587.0" layoutY="48.0" prefHeight="39.0" - prefWidth="319.0" styleClass="text-big"> + <TextField fx:id="txtNote" layoutX="587.0" layoutY="48.0" prefHeight="39.0" prefWidth="319.0" styleClass="text-big"> <font> - <Font name="System Bold"/> + <Font name="System Bold" /> </font> </TextField> - <Label layoutX="14.0" layoutY="101.0" prefHeight="30.0" prefWidth="102.0" - text="Fahrzeuge:" styleClass="text-medium"/> - <Label fx:id="lblChosenVehicles" layoutX="116.0" layoutY="102.0" prefHeight="30.0" - prefWidth="610.0" text="keine ausgewählt" styleClass="text-big"/> - <Button fx:id="btnCreateOperation" layoutX="747.0" styleClass="text-big, button-main" - layoutY="95.0" mnemonicParsing="false" - onAction="#createOperationClicked" prefHeight="0.0" prefWidth="158.0" text="Erstellen"> + <Label layoutX="14.0" layoutY="101.0" prefHeight="30.0" prefWidth="102.0" styleClass="text-medium" text="Fahrzeuge:" /> + <Label fx:id="lblChosenVehicles" layoutX="116.0" layoutY="102.0" prefHeight="30.0" prefWidth="610.0" styleClass="text-big" text="keine ausgewählt" /> + <Button fx:id="btnCreateOperation" layoutX="747.0" layoutY="95.0" mnemonicParsing="false" onAction="#createOperationClicked" prefHeight="0.0" prefWidth="158.0" styleClass="text-big, button-main" text="Erstellen"> <font> - <Font name="System Bold"/> + <Font name="System Bold" /> </font> </Button> </AnchorPane> - <Hyperlink layoutX="44.0" layoutY="38.0" onAction="#onRegistrationLinkClicked" text="Anmeldungen" - textFill="WHITE" styleClass="text-small"> + <Hyperlink layoutX="44.0" layoutY="38.0" onAction="#onRegistrationLinkClicked" styleClass="text-small" text="Anmeldungen" textFill="WHITE"> </Hyperlink> - <Hyperlink layoutX="802.0" layoutY="38.0" onAction="#onEmployeeLinkClicked" text="Personen" - styleClass="text-small" - textFill="WHITE"> + <Hyperlink layoutX="802.0" layoutY="38.0" onAction="#onEmployeeLinkClicked" styleClass="text-small" text="Personen" textFill="WHITE"> </Hyperlink> - <Hyperlink layoutX="877.0" layoutY="38.0" onAction="#onVehicleLinkClicked" text="Fahrzeuge" - styleClass="text-small" - textFill="WHITE"> + <Hyperlink layoutX="877.0" layoutY="38.0" onAction="#onVehicleLinkClicked" styleClass="text-small" text="Fahrzeuge" textFill="WHITE"> </Hyperlink> - <!--<AnchorPane fx:id="apActiveOperations" layoutX="968.0" layoutY="71.0" prefHeight="315.0" prefWidth="207.0" style="-fx-background-color: white; -fx-effect: dropshadow(gaussian, rgba(0.5,0.5,0.5,0.8), 5, 0, 0, 3);">--> - <AnchorPane fx:id="apActiveOperations" layoutX="968.0" layoutY="71.0" prefHeight="315.0" - prefWidth="207.0" - styleClass="bg-white, shadowed"> - <ListView fx:id="lvActiveOperations" layoutX="4.0" layoutY="74.0" prefHeight="242.0" - prefWidth="200.0" style="-fx-background-color: white;"/> - <Label layoutX="10.0" layoutY="6.0" - text="Aktive Einsätze" styleClass="text-big"> + <AnchorPane layoutX="968.0" layoutY="71.0" prefHeight="315.0" prefWidth="207.0" styleClass="bg-white, shadowed"> + <ListView fx:id="lvActiveOperations" layoutX="4.0" layoutY="74.0" prefHeight="242.0" prefWidth="200.0" style="-fx-background-color: white;" /> + <Label layoutX="10.0" layoutY="6.0" styleClass="text-big" text="Aktive Einsätze"> </Label> - <Hyperlink onAction="#onArchivLinkClicked" layoutY="7.0" text="Archiv" styleClass="text-medium" - AnchorPane.rightAnchor="12"/> + <Hyperlink layoutY="7.0" onAction="#onArchivLinkClicked" styleClass="text-medium" text="Archiv" AnchorPane.rightAnchor="12" /> </AnchorPane> - <FlowPane fx:id="fpVehicles" hgap="12" layoutX="40.0" layoutY="228.0" prefHeight="388.0" - prefWidth="920.0" vgap="12"> - </FlowPane> - <AnchorPane fx:id="apInvisible" prefHeight="650.0" prefWidth="1200.0" - style="-fx-background-color: rgba(0,0,0,0.7);" visible="false"/> - <fx:include fx:id="operationDetails" source="/fxml/OperationDetails.fxml" - AnchorPane.leftAnchor="54.0" AnchorPane.topAnchor="50.0"/> + <ScrollPane hbarPolicy="NEVER" layoutX="34.0" layoutY="222.0" prefHeight="388.0" prefWidth="920.0" vbarPolicy="ALWAYS"> + <FlowPane fx:id="fpVehicles" hgap="12" vgap="12" prefWidth="920.0"> + <padding> + <Insets topRightBottomLeft="6" /> + </padding> + </FlowPane> + </ScrollPane> + <AnchorPane fx:id="apInvisible" style="-fx-background-color: rgba(0,0,0,0.7);" visible="false" AnchorPane.bottomAnchor="0" AnchorPane.leftAnchor="0" AnchorPane.rightAnchor="0" AnchorPane.topAnchor="0" /> + + <GridPane fx:id="grdWindowContainer" alignment="CENTER" AnchorPane.bottomAnchor="0" AnchorPane.leftAnchor="0" AnchorPane.rightAnchor="0" AnchorPane.topAnchor="0"> + <padding> + <Insets topRightBottomLeft="12" /> + </padding> + <fx:include fx:id="registrationWindow" source="/fxml/RegistrationWindow.fxml" /> + <columnConstraints> + <ColumnConstraints /> + </columnConstraints> + <rowConstraints> + <RowConstraints /> + </rowConstraints> + </GridPane> + <fx:include fx:id="operationDetails" source="/fxml/OperationDetails.fxml" AnchorPane.leftAnchor="54.0" AnchorPane.topAnchor="50.0" /> + <fx:include fx:id="manageEmployees" source="/fxml/manageEmployees.fxml" AnchorPane.leftAnchor="240.0" AnchorPane.topAnchor="60.0" /> + <fx:include fx:id="createCar" source="/fxml/createCar.fxml" AnchorPane.leftAnchor="192.0" AnchorPane.topAnchor="57.0" /> + <fx:include fx:id="archiveOperation" source="/fxml/ArchiveOperation.fxml" AnchorPane.leftAnchor="100.0" /> </AnchorPane> diff --git a/src/main/resources/fxml/DetailArchiveOperation.fxml b/src/main/resources/fxml/DetailArchiveOperation.fxml new file mode 100644 index 0000000..553dfd3 --- /dev/null +++ b/src/main/resources/fxml/DetailArchiveOperation.fxml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<?import javafx.geometry.Insets?> +<?import javafx.scene.layout.AnchorPane?> +<?import javafx.scene.layout.HBox?> +<?import javafx.scene.layout.VBox?> + +<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="at.ac.tuwien.sepm.assignment.groupphase.missioncontrol.controller.DetailArchiveOperationController"> + <children> + <HBox prefHeight="100.0" prefWidth="200.0" spacing="100.0"> + <children> + <VBox fx:id="vBoxVehicle" prefHeight="200.0" prefWidth="100.0" /> + <VBox fx:id="vBoxPeople" prefHeight="200.0" prefWidth="100.0" spacing="10.0" /> + </children> + <padding> + <Insets right="10.0" /> + </padding> + </HBox> + </children> +</AnchorPane> diff --git a/src/main/resources/fxml/OperationDetails.fxml b/src/main/resources/fxml/OperationDetails.fxml index 3ac7d93..9d2fb5b 100644 --- a/src/main/resources/fxml/OperationDetails.fxml +++ b/src/main/resources/fxml/OperationDetails.fxml @@ -4,22 +4,25 @@ <?import javafx.scene.control.Hyperlink?> <?import javafx.scene.control.Label?> <?import javafx.scene.control.ListView?> +<?import javafx.scene.control.ScrollPane?> <?import javafx.scene.layout.AnchorPane?> +<?import javafx.scene.layout.FlowPane?> <?import javafx.scene.text.Font?> -<AnchorPane fx:id="operationDetailsAP" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="542.0" prefWidth="1100.0" visible="false" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.controller.OperationDetailsController"> +<?import javafx.scene.layout.VBox?> +<AnchorPane fx:id="operationDetailsAP" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="542.0" prefWidth="1100.0" visible="false" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="at.ac.tuwien.sepm.assignment.groupphase.missioncontrol.controller.OperationDetailsController"> <children> - <AnchorPane prefHeight="542.0" prefWidth="1100.0" style="-fx-background-color: white;" /> + <AnchorPane prefHeight="542.0" prefWidth="1100.0" style="-fx-background-color: rgba(239,235,232,1);" /> <AnchorPane layoutX="10.0" layoutY="10.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="542.0" prefWidth="1000.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0"> <children> <AnchorPane layoutX="964.0" layoutY="-66.0" prefHeight="152.0" prefWidth="1100.0" style="-fx-background-color: green;" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0"> <children> - <Hyperlink layoutX="1023.0" layoutY="16.0" onAction="#closeWindow" text="Zurück" textFill="WHITE"> + <Hyperlink layoutX="1023.0" layoutY="16.0" onAction="#closeWindow" styleClass="text-medium" text="Zurück" textFill="WHITE"> <font> <Font size="15.0" /> </font> </Hyperlink> - <Label layoutX="17.0" layoutY="13.0" prefHeight="34.0" prefWidth="174.0" text="Ausgewählter Einsatz:" textFill="WHITE"> + <Label layoutX="17.0" layoutY="13.0" prefHeight="34.0" prefWidth="174.0" styleClass="text-big" text="Ausgewählter Einsatz:" textFill="WHITE"> <font> <Font size="17.0" /> </font> @@ -28,20 +31,14 @@ </AnchorPane> <AnchorPane fx:id="apActiveOperations" layoutX="874.0" layoutY="50.0" prefHeight="298.0" prefWidth="200.0" style="-fx-background-color: white; -fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.8), 10, 0, 0, 5);"> <children> - <ListView fx:id="lvActiveOperations" layoutX="9.0" layoutY="55.0" prefHeight="242.0" prefWidth="182.0" style="-fx-background-color: white;" /> - <Label layoutX="9.0" layoutY="11.0" prefHeight="46.0" prefWidth="103.0" text="Aktive Einsätze"> + <ListView fx:id="lvActiveOperations" layoutX="9.0" layoutY="46.0" prefHeight="251.0" prefWidth="182.0" style="-fx-background-color: white;" /> + <Label layoutX="9.0" layoutY="4.0" prefHeight="46.0" prefWidth="103.0" text="Aktive Einsätze"> <font> <Font name="System Bold" size="14.0" /> </font> </Label> - <Label layoutX="150.0" layoutY="24.0" text="Archiv"> - <font> - <Font size="13.0" /> - </font> - </Label> </children> </AnchorPane> - <ListView fx:id="lvVehicles" layoutX="16.0" layoutY="185.0" prefHeight="355.0" prefWidth="846.0" style="-fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.8), 10, 0, 0, 5);" /> <AnchorPane fx:id="apCreateOperation" layoutX="16.0" layoutY="49.0" prefHeight="134.0" prefWidth="845.0" style="-fx-background-color: white; -fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.8), 5, 0, 0, 5);"> <children> <Label layoutX="14.0" layoutY="14.0" prefHeight="30.0" prefWidth="62.0" text="Code"> @@ -69,12 +66,12 @@ <Font size="17.0" /> </font> </Label> - <Button fx:id="btnCloseOperation" layoutX="709.0" layoutY="89.0" mnemonicParsing="false" onAction="#closeOperationClicked" prefHeight="39.0" prefWidth="122.0" text="Abschließen"> + <Button fx:id="btnCloseOperation" layoutX="657.0" layoutY="89.0" mnemonicParsing="false" onAction="#closeOperationClicked" prefHeight="39.0" prefWidth="174.0" styleClass="button-main" text="Abschließen"> <font> <Font name="System Bold" size="17.0" /> </font> </Button> - <Button fx:id="btnCancelOperation" layoutX="575.0" layoutY="90.0" mnemonicParsing="false" onAction="#cancelOperationClicked" prefHeight="38.0" prefWidth="122.0" text="Stornieren"> + <Button fx:id="btnCancelOperation" layoutX="465.0" layoutY="89.0" mnemonicParsing="false" onAction="#cancelOperationClicked" prefHeight="38.0" prefWidth="174.0" style="-fx-background-color: rgba(82, 83, 87, 0.51); -fx-text-fill: white;" text="Stornieren"> <font> <Font name="System Bold" size="17.0" /> </font> @@ -96,6 +93,19 @@ </Label> </children> </AnchorPane> + <ScrollPane layoutX="16.0" layoutY="195.0" prefHeight="345.0" prefWidth="846.0"> + <content> + <VBox> + <FlowPane fx:id="fpVehicles" hgap="12" prefHeight="168.0" prefWidth="840.0" vgap="12" /> + <Label text="Weitere Fahrzeuge:" > + <font> + <Font name="System Bold" size="19.0" /> + </font> + </Label> + <FlowPane fx:id="fpAdditional" hgap="12" prefHeight="168.0" prefWidth="840.0" vgap="12" /> + </VBox> + </content> + </ScrollPane> </children> </AnchorPane> </children> diff --git a/src/main/resources/fxml/OperationInArchive.fxml b/src/main/resources/fxml/OperationInArchive.fxml new file mode 100644 index 0000000..ebbaec8 --- /dev/null +++ b/src/main/resources/fxml/OperationInArchive.fxml @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<?import javafx.geometry.Insets?> +<?import javafx.scene.image.Image?> +<?import javafx.scene.image.ImageView?> +<?import javafx.scene.layout.ColumnConstraints?> +<?import javafx.scene.layout.GridPane?> +<?import javafx.scene.layout.HBox?> +<?import javafx.scene.layout.RowConstraints?> +<?import javafx.scene.text.Font?> +<?import javafx.scene.text.Text?> + +<GridPane hgap="12.0" prefHeight="106.0" prefWidth="374.0" styleClass="bg-white, shadowed" vgap="12" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="at.ac.tuwien.sepm.assignment.groupphase.missioncontrol.controller.OperationInArchiveController"> + <columnConstraints> + <ColumnConstraints maxWidth="249.6000518798828" minWidth="205.60003662109375" prefWidth="249.6000518798828" /> + <ColumnConstraints maxWidth="182.39996337890625" minWidth="138.3999481201172" prefWidth="138.3999481201172" /> + <ColumnConstraints /> + <ColumnConstraints /> + <ColumnConstraints /> + </columnConstraints> + <rowConstraints> + <RowConstraints /> + <RowConstraints /> + <RowConstraints /> + </rowConstraints> + <padding> + <Insets bottom="6.0" left="12.0" top="6.0" /> + </padding> + <children> + <Text fx:id="txtAddress" text="Text" GridPane.rowIndex="1"> + <font> + <Font size="17.0" /> + </font> + </Text> + <HBox prefHeight="23.0" prefWidth="139.0" spacing="7.0" GridPane.rowIndex="2"> + <children> + <ImageView fitHeight="23.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true"> + <image> + <Image url="@../images/Vehicle.png" /> + </image> + </ImageView> + <Text fx:id="txtVehicles" strokeType="OUTSIDE" strokeWidth="0.0" text="Text"> + <font> + <Font size="17.0" /> + </font> + </Text> + </children> + </HBox> + <Text fx:id="txtDate" nodeOrientation="RIGHT_TO_LEFT" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" wrappingWidth="132.53673648834229" GridPane.columnIndex="1"> + <font> + <Font name="System Bold" size="17.0" /> + </font> + </Text> + <Text fx:id="txtOpCode" strokeType="OUTSIDE" strokeWidth="0.0" text="Text"> + <font> + <Font name="System Bold" size="17.0" /> + </font> + </Text> + </children> +</GridPane> diff --git a/src/main/resources/fxml/RegistrationWindow.fxml b/src/main/resources/fxml/RegistrationWindow.fxml index 0394ca7..1f57c11 100644 --- a/src/main/resources/fxml/RegistrationWindow.fxml +++ b/src/main/resources/fxml/RegistrationWindow.fxml @@ -3,74 +3,96 @@ <?import javafx.geometry.Insets?> <?import javafx.scene.control.Button?> <?import javafx.scene.control.ChoiceBox?> +<?import javafx.scene.control.Hyperlink?> <?import javafx.scene.control.Label?> -<?import javafx.scene.control.SplitPane?> -<?import javafx.scene.control.TableColumn?> -<?import javafx.scene.control.TableView?> +<?import javafx.scene.control.ScrollPane?> <?import javafx.scene.control.TextField?> <?import javafx.scene.layout.AnchorPane?> +<?import javafx.scene.layout.ColumnConstraints?> +<?import javafx.scene.layout.GridPane?> <?import javafx.scene.layout.HBox?> +<?import javafx.scene.layout.RowConstraints?> <?import javafx.scene.layout.VBox?> +<GridPane fx:id="root" stylesheets="@/styles/main.css" styleClass="bg-gray-orange" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="at.ac.tuwien.sepm.assignment.groupphase.missioncontrol.controller.RegistrationWindowController"> + <rowConstraints> + <RowConstraints/> <!--"Neue Anmeldung", "von x bis x", Buttons--> + <RowConstraints/> <!--"Fahrzeug", "Personen"--> + <RowConstraints/> <!--"KTW-99", "Max Mustermann, ..."--> + <RowConstraints prefHeight="15"/> <!--The overflow of the orange area--> + <RowConstraints/> <!--Search--> + <RowConstraints/> <!--Lists--> + </rowConstraints> + <columnConstraints> + <ColumnConstraints/> + <ColumnConstraints prefWidth="20"/> <!--The gap between the colums--> + <ColumnConstraints prefWidth="320"/> <!--EmployeeListItem: 320--> + </columnConstraints> + <padding> + <Insets topRightBottomLeft="12"/> + </padding> + <AnchorPane GridPane.columnIndex="0" GridPane.columnSpan="3" GridPane.rowIndex="0" + GridPane.rowSpan="4" styleClass="bg-dark-orange"> + <GridPane.margin> + <Insets topRightBottomLeft="-12"/> + </GridPane.margin> + </AnchorPane> + <VBox spacing="3"> <!--"Neue Anmeldung", "von bis"--> + <Label text="Neue Anmeldung" styleClass="text-big, text-white, text-bold"/> + <HBox spacing="6" alignment="CENTER_LEFT"> + <Label text="von" styleClass="text-medium, text-white"/> + <ChoiceBox fx:id="cbStart" value="8:00" styleClass="text-medium, text-bold"/> + <Label text="bis" styleClass="text-medium, text-white"/> + <ChoiceBox fx:id="cbEnd" value="16:00" styleClass="text-medium, text-bold"/> + </HBox> + </VBox> + <VBox GridPane.columnIndex="2" GridPane.halignment="RIGHT" alignment="TOP_RIGHT"> + <Hyperlink text="schließen" onMouseClicked="#cancel" styleClass="text-small, text-white"/> + <Button text="ERSTELLEN" onMouseClicked="#create" styleClass="button-main, text-medium, shadowed"/> + </VBox> + <Label text="Fahrzeug" GridPane.rowIndex="1" styleClass="text-big, text-white, text-bold"> + <GridPane.margin> + <Insets top="12"/> + </GridPane.margin> + </Label> + <Label text="Personen" GridPane.rowIndex="1" GridPane.columnIndex="2" + styleClass="text-big, text-white, text-bold"> + <GridPane.margin> + <Insets top="12"/> + </GridPane.margin> + </Label> + <Label fx:id="lVehicles" text="ZZZ-40821" GridPane.valignment="TOP" alignment="TOP_LEFT" GridPane.rowIndex="2" + styleClass="text-medium, text-white"/> + <Label fx:id="lEmployees" wrapText="true" alignment="TOP_LEFT" prefHeight="20" + text="PERSONEN" GridPane.rowIndex="2" + GridPane.columnIndex="2" styleClass="text-medium, text-white"/> -<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefWidth="600.0" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.controller.RegistrationWindowController"> - <children> - <AnchorPane prefHeight="135.0" prefWidth="600.0"> - <children> - <Label layoutX="14.0" layoutY="14.0" text="Neue Anmeldung" /> - <Label layoutX="14.0" layoutY="44.0" text="von" /> - <Label layoutX="133.0" layoutY="44.0" text="bis" /> - <ChoiceBox fx:id="cbStart" layoutX="42.0" layoutY="40.0" prefWidth="80.0" /> - <ChoiceBox fx:id="cbEnd" layoutX="159.0" layoutY="40.0" prefWidth="80.0" /> - <Label layoutX="10.0" layoutY="82.0" text="Fahrzeug" /> - <Label fx:id="lVehicles" layoutX="10.0" layoutY="108.0" text="Fahrzeugname" /> - <Label layoutX="216.0" layoutY="82.0" text="Personen" /> - <Label fx:id="lEmployees" layoutX="216.0" layoutY="108.0" text="Namen" /> - </children> - </AnchorPane> - <SplitPane dividerPositions="0.35" prefWidth="200.0"> - <items> - <VBox prefHeight="200.0" prefWidth="100.0"> - <children> - <Label text="Fahrzeugsuche" /> - <TextField fx:id="tfVehicleSearch" /> - <TableView fx:id="tvVehicles" prefHeight="200.0" prefWidth="200.0"> - <columns> - <TableColumn fx:id="tcVehicles" prefWidth="75.0" text="Fahrzeuge" /> - </columns> - <columnResizePolicy> - <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" /> - </columnResizePolicy> - </TableView> - </children> - </VBox> - <VBox prefHeight="200.0" prefWidth="100.0"> - <children> - <Label text="Personensuche" /> - <TextField fx:id="tfEmployeeSearch" /> - <TableView fx:id="tvEmployees" prefHeight="200.0" prefWidth="200.0"> - <columns> - <TableColumn fx:id="tcEmployees" prefWidth="75.0" text="Personen" /> - </columns> - <columnResizePolicy> - <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" /> - </columnResizePolicy> - </TableView> - </children> - </VBox> - </items> - </SplitPane> - <HBox alignment="CENTER" prefWidth="200.0"> - <children> - <Button mnemonicParsing="false" onAction="#cancel" text="Abbrechen"> - <HBox.margin> - <Insets bottom="8.0" left="8.0" right="8.0" top="8.0" /> - </HBox.margin> - </Button> - <Button mnemonicParsing="false" onAction="#create" text="Erstellen"> - <HBox.margin> - <Insets bottom="8.0" left="8.0" right="8.0" top="8.0" /> - </HBox.margin> - </Button> - </children></HBox> - </children> -</VBox> + <ScrollPane GridPane.rowIndex="5" hbarPolicy="NEVER" vbarPolicy="ALWAYS" > + <GridPane.margin> + <Insets left="-7" right="-20" bottom="-12"/> + </GridPane.margin> + <VBox fx:id="vbVehicles" spacing="6"> + <padding> + <Insets top="6" left="6" right="6" bottom="6"/> + </padding> + </VBox> + </ScrollPane> + <ScrollPane fx:id="listEmployee" hbarPolicy="NEVER" vbarPolicy="ALWAYS" GridPane.rowIndex="5" GridPane.columnIndex="2"> + <GridPane.margin> + <Insets left="-7" right="-20" bottom="-12"/> + </GridPane.margin> + </ScrollPane> + <VBox GridPane.rowIndex="4" spacing="6" styleClass="bg-white, shadowed"> + <padding> + <Insets topRightBottomLeft="6"/> + </padding> + <Label text="Fahrzeugsuche" styleClass="text-medium"/> + <TextField fx:id="tfVehicleSearch" prefWidth="0" onKeyTyped="#tfVehicleSearch_TextChanged" styleClass="text-big, text-bold"/> + </VBox> + <VBox GridPane.rowIndex="4" spacing="6" GridPane.columnIndex="2" styleClass="bg-white, shadowed"> + <padding> + <Insets topRightBottomLeft="6"/> + </padding> + <Label text="Personensuche" styleClass="text-medium"/> + <TextField fx:id="tfEmployeeSearch" onKeyTyped="#tfEmployeeSearch_TextChanged" styleClass="text-big, text-bold"/> + </VBox> +</GridPane> diff --git a/src/main/resources/fxml/createCar.fxml b/src/main/resources/fxml/createCar.fxml index cefac82..399c9bc 100644 --- a/src/main/resources/fxml/createCar.fxml +++ b/src/main/resources/fxml/createCar.fxml @@ -3,16 +3,33 @@ <?import javafx.scene.control.Button?> <?import javafx.scene.control.CheckBox?> <?import javafx.scene.control.ChoiceBox?> +<?import javafx.scene.control.Hyperlink?> +<?import javafx.scene.control.Label?> +<?import javafx.scene.control.ScrollPane?> <?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.layout.FlowPane?> -<AnchorPane prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.controller.CreateCarController"> +<AnchorPane fx:id="createCarAP" prefHeight="522.0" prefWidth="847.0" style="-fx-background-color: WHITE;" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="at.ac.tuwien.sepm.assignment.groupphase.missioncontrol.controller.CreateCarController"> <children> - <ChoiceBox fx:id="cmb_Ctyp" layoutX="14.0" layoutY="14.0" prefWidth="150.0" /> - <ChoiceBox fx:id="cmb_typ" layoutX="191.0" layoutY="14.0" prefWidth="150.0" /> - <Button fx:id="btn_cancel" layoutX="500.0" layoutY="14.0" mnemonicParsing="false" text="abbrechen" onAction="#cancelAction"/> - <Button fx:id="btn_create" layoutX="500.0" layoutY="53.0" mnemonicParsing="false" onAction="#createCar" text="Erstellen" /> - <CheckBox fx:id="cbx_NEF" layoutX="14.0" layoutY="57.0" mnemonicParsing="false" text="NEF - Halterung" /> - <FlowPane fx:id="fp_vehicleList" layoutX="14.0" layoutY="94.0" prefHeight="298.0" prefWidth="571.0" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" /> + <ScrollPane layoutX="29.0" layoutY="194.0" prefHeight="314.0" prefWidth="803.0"> + <content> + <FlowPane fx:id="fpVehicleList" prefHeight="312.0" prefWidth="787.0" /> + </content> + </ScrollPane> + <AnchorPane prefHeight="87.0" prefWidth="847.0" styleClass="bg-light-orange"> + <children> + <Label layoutX="45.0" layoutY="26.0" styleClass="text-big" text="Fahrzeuge" textFill="WHITE" /> + <Hyperlink fx:id="lBack" layoutX="749.0" layoutY="15.0" onAction="#backToMain" styleClass="text-big" text="zurück" textFill="WHITE" /> + </children> + </AnchorPane> + <AnchorPane layoutX="29.0" layoutY="63.0" prefHeight="100.0" prefWidth="789.0" styleClass="bg-white, shadowed"> + <children> + <ChoiceBox fx:id="cmbCtype" layoutX="14.0" layoutY="26.0" prefWidth="150.0" styleClass="text-medium" /> + <ChoiceBox fx:id="cmbTyp" layoutX="170.0" layoutY="26.0" prefWidth="150.0" styleClass="text-medium" /> + + <Button fx:id="btnCreate" layoutX="697.0" layoutY="54.0" mnemonicParsing="false" onAction="#createCar" prefHeight="31.0" prefWidth="78.0" styleClass="button-main,text-meium" text="Erstellen" /> + <CheckBox fx:id="cbxNEF" layoutX="14.0" layoutY="69.0" mnemonicParsing="false" styleClass="text-medium" text="NEF - Halterung" /> + </children> + </AnchorPane> </children> </AnchorPane> diff --git a/src/main/resources/fxml/createNewEmployee.fxml b/src/main/resources/fxml/createNewEmployee.fxml index 4848c09..fd04ee1 100644 --- a/src/main/resources/fxml/createNewEmployee.fxml +++ b/src/main/resources/fxml/createNewEmployee.fxml @@ -8,16 +8,29 @@ <?import javafx.scene.control.TextField?> <?import javafx.scene.layout.AnchorPane?> -<AnchorPane prefHeight="96.0" prefWidth="740.0" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.controller.CreateNewEmployeeController"> - <children> - <Label fx:id="lblHeader" layoutX="14.0" layoutY="14.0" text="Neue Person erstellen" /> - <Label layoutX="14.0" layoutY="38.0" text="Name" /> - <Label layoutX="206.0" layoutY="38.0" text="Qualifikation" /> - <CheckBox fx:id="inputIsDriver" layoutX="343.0" layoutY="37.0" mnemonicParsing="false" text="Fahrer" /> - <CheckBox fx:id="inputIsPilot" layoutX="343.0" layoutY="62.0" mnemonicParsing="false" text="Pilot" /> - <Hyperlink fx:id="btnCancel" layoutX="441.0" layoutY="31.0" onAction="#onCancelClicked" text="abbrechen" /> - <Button fx:id="btnCreate" layoutX="441.0" layoutY="55.0" mnemonicParsing="false" onAction="#onCreateClicked" text="Erstellen" /> - <TextField fx:id="inputName" layoutX="14.0" layoutY="57.0" prefHeight="25.0" prefWidth="179.0" /> - <ChoiceBox fx:id="inputQualification" layoutX="199.0" layoutY="57.0" prefHeight="25.0" prefWidth="128.0" /> - </children> +<AnchorPane fx:id="apCreateNewEmployee" prefHeight="100" + prefWidth="${apCreateNewEmployee.parent.width}" styleClass="bg-edit-area-orange" + stylesheets="@/styles/main.css" xmlns="http://javafx.com/javafx/9.0.1" + xmlns:fx="http://javafx.com/fxml/1" + fx:controller="at.ac.tuwien.sepm.assignment.groupphase.missioncontrol.controller.CreateNewEmployeeController"> + <children> + <Label fx:id="lblHeader" layoutX="14.0" layoutY="14.0" styleClass="text-bold, text-medium" + text="Neue Person erstellen"/> + <Label layoutX="14.0" layoutY="38.0" styleClass="text-small" text="Name"/> + <Label layoutX="206.0" layoutY="38.0" styleClass="text-small" text="Qualifikation"/> + <CheckBox fx:id="inputIsDriver" layoutX="355.0" layoutY="37.0" mnemonicParsing="false" + styleClass="text-small" text="Fahrer"/> + <CheckBox fx:id="inputIsPilot" layoutX="355.0" layoutY="62.0" mnemonicParsing="false" + styleClass="text-small" text="Pilot"/> + <Hyperlink fx:id="btnCancel" layoutX="441.0" layoutY="31.0" onAction="#onCancelClicked" + styleClass="text-medium" text="abbrechen" textFill="black" AnchorPane.bottomAnchor="30.0" + AnchorPane.rightAnchor="10.0"/> + <Button fx:id="btnCreate" layoutX="441.0" layoutY="55.0" mnemonicParsing="false" + onAction="#onCreateClicked" styleClass="button-main, bg-green, text-bold, text-big" + text="ERSTELLEN" AnchorPane.bottomAnchor="-10.0" AnchorPane.rightAnchor="10.0"/> + <TextField fx:id="inputName" layoutX="14.0" layoutY="57.0" prefHeight="25.0" prefWidth="179.0" + style="-fx-background-color: transparent" styleClass="text-bold, text-medium"/> + <ChoiceBox fx:id="inputQualification" layoutX="206.0" layoutY="57.0" prefHeight="25.0" + prefWidth="128.0"/> + </children> </AnchorPane> diff --git a/src/main/resources/fxml/employeeList.fxml b/src/main/resources/fxml/employeeList.fxml new file mode 100644 index 0000000..85f693c --- /dev/null +++ b/src/main/resources/fxml/employeeList.fxml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<?import javafx.geometry.Insets?> +<?import javafx.scene.layout.FlowPane?> +<FlowPane + xmlns="http://javafx.com/javafx/9.0.1" + xmlns:fx="http://javafx.com/fxml/1" + fx:controller="at.ac.tuwien.sepm.assignment.groupphase.missioncontrol.controller.EmployeeListController" + fx:id="flowPaneEmployeeList" + stylesheets="@/styles/main.css" + prefWidth="${flowPaneEmployeeList.parent.width}" + prefHeight="${flowPaneEmployeeList.parent.height}" + styleClass="bg-gray-orange"> + <padding> + <Insets bottom="10.0"/> + </padding> +</FlowPane> diff --git a/src/main/resources/fxml/employeeListItem.fxml b/src/main/resources/fxml/employeeListItem.fxml index 05354fc..7f6aabd 100644 --- a/src/main/resources/fxml/employeeListItem.fxml +++ b/src/main/resources/fxml/employeeListItem.fxml @@ -1,53 +1,56 @@ <?xml version="1.0" encoding="UTF-8"?> -<?import javafx.scene.control.Button?> <?import javafx.scene.control.Label?> <?import javafx.scene.image.ImageView?> <?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.layout.HBox?> -<?import javafx.scene.text.Font?> <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" - prefHeight="96.0" prefWidth="360.0" style="-fx-background-color: white;" + onMouseClicked="#onEmployeeClicked" prefHeight="80.0" prefWidth="320.0" + styleClass="bg-white, shadowed" stylesheets="@/styles/main.css" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" - fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.controller.EmployeeListItemController"> + fx:controller="at.ac.tuwien.sepm.assignment.groupphase.missioncontrol.controller.EmployeeListItemController"> <children> - <Label fx:id="lblName" layoutX="8.0" layoutY="22.0" text="Peter Mustermann" - AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="5.0"> - <font> - <Font name="System Bold" size="18.0"/> - </font> + <Label fx:id="lblName" layoutX="8.0" layoutY="22.0" styleClass="text-big, text-bold" + text="Peter Mustermann" AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="5.0"> </Label> - <Button layoutX="298.0" layoutY="5.0" mnemonicParsing="false" onAction="#onEditEmployeeClicked" - text="bearbeiten" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="5.0"/> - <HBox layoutX="10.0" layoutY="40.0" prefHeight="42.0" prefWidth="339.0" + <HBox layoutX="10.0" layoutY="40.0" prefHeight="42.0" prefWidth="300.0" AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="40.0"> <children> - <AnchorPane prefHeight="42.0" prefWidth="112.0" style="-fx-background-color: white;"> + <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" + minWidth="-Infinity" prefHeight="42.0" prefWidth="100.0"> <children> - <ImageView fx:id="imgQualification" fitHeight="25.0" fitWidth="25.0" layoutX="10.0" - layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="10.0" - AnchorPane.topAnchor="10.0"/> - <Label fx:id="lblQualification" layoutX="45.0" layoutY="14.0" text="Notarzt" - AnchorPane.leftAnchor="45.0" AnchorPane.topAnchor="14.0"/> + <!-- TODO: update images to have transparent background! --> + <ImageView fx:id="imgQualification" fitHeight="25.0" fitWidth="25.0" layoutX="2.0" + pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="0.0" + AnchorPane.topAnchor="0.0"/> + <Label fx:id="lblQualification" layoutX="45.0" layoutY="14.0" styleClass="text-small" + text="Notarzt" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="0.0"> + </Label> </children> </AnchorPane> - <AnchorPane prefHeight="42.0" prefWidth="112.0" style="-fx-background-color: white;"> + <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" + minWidth="-Infinity" prefHeight="42.0" prefWidth="100.0"> <children> + <!-- TODO: update images to have transparent background! --> <ImageView fx:id="imgPilot" fitHeight="25.0" fitWidth="25.0" layoutX="10.0" - layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="10.0" - AnchorPane.topAnchor="10.0"/> - <Label fx:id="lblPilot" layoutX="53.0" layoutY="14.0" text="nicht Pilot" - AnchorPane.leftAnchor="45.0" AnchorPane.topAnchor="14.0"/> + layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="0.0" + AnchorPane.topAnchor="0.0"/> + <Label fx:id="lblPilot" layoutX="53.0" layoutY="14.0" styleClass="text-small" + text="nicht Pilot" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="0.0"> + </Label> </children> </AnchorPane> - <AnchorPane prefHeight="42.0" prefWidth="112.0" style="-fx-background-color: white;"> + <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" + minWidth="-Infinity" prefHeight="42.0" prefWidth="100.0"> <children> + <!-- TODO: update images to have transparent background! --> <ImageView fx:id="imgDriver" fitHeight="25.0" fitWidth="25.0" layoutX="10.0" - layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="10.0" - AnchorPane.topAnchor="10.0"/> - <Label fx:id="lblDriver" layoutX="54.0" layoutY="14.0" text="ist Fahrer" - AnchorPane.leftAnchor="45.0" AnchorPane.topAnchor="14.0"/> + layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="0.0" + AnchorPane.topAnchor="0.0"/> + <Label fx:id="lblDriver" layoutX="54.0" layoutY="14.0" styleClass="text-small" + text="ist Fahrer" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="0.0"> + </Label> </children> </AnchorPane> </children> diff --git a/src/main/resources/fxml/filterEmployeesControl.fxml b/src/main/resources/fxml/filterEmployeesControl.fxml index 68a6f3e..8f7e72f 100644 --- a/src/main/resources/fxml/filterEmployeesControl.fxml +++ b/src/main/resources/fxml/filterEmployeesControl.fxml @@ -3,17 +3,31 @@ <?import javafx.scene.control.Button?> <?import javafx.scene.control.Label?> <?import javafx.scene.control.TextField?> +<?import javafx.scene.image.Image?> +<?import javafx.scene.image.ImageView?> <?import javafx.scene.layout.AnchorPane?> - -<AnchorPane prefHeight="86.0" prefWidth="740.0" style="-fx-background-color: white;" +<AnchorPane fx:id="apFilterEmployees" prefHeight="80" prefWidth="${apFilterEmployees.parent.width}" + style="-fx-background-color: white;" stylesheets="/styles/main.css" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" - fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.controller.FilterEmployeesController"> + fx:controller="at.ac.tuwien.sepm.assignment.groupphase.missioncontrol.controller.FilterEmployeesController"> <children> - <Label layoutX="14.0" layoutY="14.0" text="Filtern nach Name"/> - <TextField fx:id="inputFilterString" layoutX="22.0" layoutY="41.0" - onKeyReleased="#onFilterTextChanged" promptText="Name eingeben"/> - <Button layoutX="698.0" layoutY="48.0" mnemonicParsing="false" onAction="#onAddEmployeeClicked" - onInputMethodTextChanged="#onFilterTextChanged" text="Person hinzufügen" - AnchorPane.rightAnchor="10.0"/> + <Label text="Filtern nach Name" AnchorPane.leftAnchor="20.0" + AnchorPane.topAnchor="15.0" styleClass="text-medium, text-bold"/> + <TextField fx:id="inputFilterString" + onKeyReleased="#onFilterTextChanged" promptText="Name eingeben" + styleClass="text-medium" + AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="45.0"/> + <Button mnemonicParsing="false" onAction="#onAddEmployeeClicked" + onInputMethodTextChanged="#onFilterTextChanged" + style="-fx-background-color: green; -fx-border-width: 1px; -fx-border-radius: 25px; -fx-background-radius: 25px; -fx-border-color: black; -fx-min-width: 50px; -fx-min-height: 50px; -fx-max-width: 50px; -fx-max-height: 50px;" + AnchorPane.bottomAnchor="-10.0" AnchorPane.rightAnchor="10.0"> + <graphic> + <ImageView fitHeight="30.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true"> + <image> + <Image url="/images/PlusButton.png"/> + </image> + </ImageView> + </graphic> + </Button> </children> </AnchorPane> diff --git a/src/main/resources/fxml/listEmployees.fxml b/src/main/resources/fxml/listEmployees.fxml deleted file mode 100644 index ae815e1..0000000 --- a/src/main/resources/fxml/listEmployees.fxml +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<?import javafx.geometry.Insets?> -<?import javafx.scene.control.Label?> -<?import javafx.scene.control.ScrollPane?> -<?import javafx.scene.layout.AnchorPane?> -<?import javafx.scene.layout.FlowPane?> -<?import javafx.scene.layout.VBox?> -<?import javafx.scene.text.Font?> - -<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" - prefHeight="536.0" prefWidth="816.0" style="-fx-background-color: #EFEBE8;" - xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" - fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.controller.ListEmployeesController"> - <children> - <AnchorPane prefHeight="118.0" prefWidth="816.0" style="-fx-background-color: #C55A11;"> - <children> - <Label layoutX="39.0" layoutY="23.0" text="Personen" textFill="WHITE"> - <font> - <Font name="Calibri Bold" size="22.0"/> - </font> - </Label> - </children> - </AnchorPane> - <VBox layoutX="37.0" layoutY="60.0" prefHeight="454.0" prefWidth="742.0"> - <children> - <AnchorPane fx:id="containerHeader" prefHeight="86.0" prefWidth="740.0" - style="-fx-background-color: white; -fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.8), 10, 0, 0, 5);"/> - <ScrollPane hbarPolicy="NEVER" style="-fx-background-color: #EFEBE8;" vbarPolicy="NEVER"> - <VBox.margin> - <Insets top="20.0"/> - </VBox.margin> - <content> - <FlowPane fx:id="flowPaneEmployeeList" prefHeight="346.0" prefWidth="742.0" - style="-fx-background-color: #EFEBE8;"/> - </content> - </ScrollPane> - </children> - </VBox> - </children> -</AnchorPane> diff --git a/src/main/resources/fxml/manageEmployees.fxml b/src/main/resources/fxml/manageEmployees.fxml new file mode 100644 index 0000000..b0ce2fc --- /dev/null +++ b/src/main/resources/fxml/manageEmployees.fxml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<?import javafx.scene.control.Hyperlink?> +<?import javafx.scene.control.Label?> +<?import javafx.scene.control.ScrollPane?> +<?import javafx.scene.layout.AnchorPane?> +<?import javafx.scene.layout.VBox?> + +<AnchorPane fx:id="listEmployeesAP" prefHeight="536.0" prefWidth="702.0" styleClass="bg-gray-orange" + stylesheets="@/styles/main.css" visible="false" xmlns="http://javafx.com/javafx/9.0.1" + xmlns:fx="http://javafx.com/fxml/1" + fx:controller="at.ac.tuwien.sepm.assignment.groupphase.missioncontrol.controller.ManageEmployeesController"> + <children> + <AnchorPane prefHeight="120.0" styleClass="bg-dark-orange" AnchorPane.leftAnchor="0.0" + AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> + <children> + <Label styleClass="text-bold, text-big, text-white" text="Personen" + AnchorPane.leftAnchor="25.0" AnchorPane.topAnchor="20.0"> + </Label> + <Hyperlink onAction="#backToMain" styleClass="text-medium, text-white" text="Zurück" + AnchorPane.rightAnchor="25.0" AnchorPane.topAnchor="30.0"> + </Hyperlink> + </children> + </AnchorPane> + <VBox fx:id="containerVbox" alignment="BOTTOM_LEFT" rotate="180" AnchorPane.bottomAnchor="0.0" + AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="60.0"> + <children> + <ScrollPane fx:id="employeeScrollPane" fitToHeight="true" fitToWidth="true" + hbarPolicy="NEVER" maxHeight="-Infinity" minHeight="-Infinity" prefHeight="336.0" + prefWidth="662.0" rotate="180" vbarPolicy="NEVER"> + <content> + <fx:include fx:id="employeeList" source="employeeList.fxml"/> + </content> + </ScrollPane> + <AnchorPane fx:id="containerHeader" minHeight="80.0" rotate="180" styleClass="shadowed" + AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="0.0"/> + </children> + </VBox> + </children> +</AnchorPane> diff --git a/src/main/resources/fxml/vehiclePane.fxml b/src/main/resources/fxml/vehiclePane.fxml index 784febc..752941a 100644 --- a/src/main/resources/fxml/vehiclePane.fxml +++ b/src/main/resources/fxml/vehiclePane.fxml @@ -1,65 +1,112 @@ <?xml version="1.0" encoding="UTF-8"?> +<?import java.lang.String?> <?import javafx.geometry.Insets?> +<?import javafx.scene.control.Button?> +<?import javafx.scene.control.Label?> <?import javafx.scene.image.Image?> <?import javafx.scene.image.ImageView?> <?import javafx.scene.layout.ColumnConstraints?> <?import javafx.scene.layout.GridPane?> <?import javafx.scene.layout.RowConstraints?> +<?import javafx.scene.layout.VBox?> <?import javafx.scene.text.Font?> <?import javafx.scene.text.Text?> <?import javafx.scene.text.TextFlow?> -<GridPane hgap="6.0" stylesheets="@/styles/main.css" styleClass="bg-white, shadowed" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.controller.VehiclePaneController"> +<?import javafx.scene.control.Label?> +<GridPane stylesheets="@/styles/main.css" minWidth="-Infinity" styleClass="bg-white, shadowed" + xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" + fx:controller="at.ac.tuwien.sepm.assignment.groupphase.missioncontrol.controller.VehiclePaneController"> <columnConstraints> - <ColumnConstraints /> - <ColumnConstraints /> - <ColumnConstraints /> - <ColumnConstraints /> + <ColumnConstraints/> + <ColumnConstraints/> + <ColumnConstraints prefWidth="60"/> + <ColumnConstraints/> </columnConstraints> <rowConstraints> - <RowConstraints /> - <RowConstraints /> - <RowConstraints /> - <RowConstraints /> + <RowConstraints/> + <RowConstraints/> + <RowConstraints/> + <RowConstraints/> </rowConstraints> <padding> - <Insets bottom="6.0" left="12.0" right="12.0" top="6.0" /> + <Insets bottom="6.0" left="12.0" right="12.0" top="6.0"/> </padding> - <TextFlow GridPane.columnIndex="0" GridPane.columnSpan="2" GridPane.rowIndex="0"> - <Text fx:id="txtType" text="RTW"> + <!--<Text fx:id="txtType" text="NAH" GridPane.columnIndex="0" GridPane.columnSpan="2">--> + <!--<font>--> + <!--<Font name="System Bold" size="18.0"/>--> + <!--</font>--> + <!--</Text>--> + <!--<Text fx:id="txtNumber" text="-10003" GridPane.halignment="LEFT" GridPane.columnIndex="2">--> + <!--<font>--> + <!--<Font size="16.0"/>--> + <!--</font>--> + <!--</Text>--> + <TextFlow GridPane.columnIndex="0" GridPane.columnSpan="3" prefWidth="120"> + <Text fx:id="txtType" text="RTWSDLK" > <font> - <Font name="System Bold" size="18.0" /> + <Font name="System Bold" size="18.0"/> </font> </Text> - <Text fx:id="txtNumber" text="-10003"> + <Text fx:id="txtNumber" text="-1"> <font> - <Font size="16.0" /> + <Font size="16.0"/> </font> </Text> </TextFlow> - <ImageView fx:id="ivNEF" fitHeight="25.0" fitWidth="25.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="0" GridPane.rowIndex="1"> - <Image url="@../images/NotNEF.png" /> + <ImageView fx:id="ivNEF" fitHeight="25.0" fitWidth="25.0" pickOnBounds="true" preserveRatio="true" + GridPane.columnIndex="0" GridPane.rowIndex="1"> + <Image url="@../images/NotNEF.png"/> </ImageView> - <Text fx:id="txtNEF" text="keine NEF-Halterung" GridPane.columnIndex="1" GridPane.rowIndex="1"> + <Text fx:id="txtNEF" text="keine NEF-Halterung" GridPane.columnIndex="1" GridPane.columnSpan="3" + GridPane.rowIndex="1"> <font> - <Font size="14.0" /> + <Font size="14.0"/> </font> </Text> - <ImageView fx:id="ivQualification" fitHeight="25.0" fitWidth="25.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="0" GridPane.rowIndex="2"> - <Image url="@../images/Qualification.png" /> + <ImageView fx:id="ivQualification" fitHeight="25.0" fitWidth="25.0" pickOnBounds="true" + preserveRatio="true" GridPane.columnIndex="0" GridPane.rowIndex="2"> + <Image url="@../images/Qualification.png"/> </ImageView> - <Text fx:id="txtQualification" text="-" GridPane.columnIndex="1" GridPane.rowIndex="2"> + <Text fx:id="txtQualification" text="-" GridPane.columnIndex="1" GridPane.columnSpan="3" + GridPane.rowIndex="2"> <font> - <Font size="14.0" /> + <Font size="14.0"/> </font> </Text> - <ImageView fitHeight="25.0" fitWidth="25.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="0" GridPane.rowIndex="3"> - <Image url="@../images/Vehicle.png" /> + <ImageView fitHeight="25.0" fitWidth="25.0" pickOnBounds="true" preserveRatio="true" + GridPane.columnIndex="0" GridPane.rowIndex="3"> + <Image url="@../images/Vehicle.png"/> + <GridPane.margin> + <Insets right="6"/> + </GridPane.margin> </ImageView> - <Text fx:id="txtRooftype" text="Hochdach" GridPane.columnIndex="1" GridPane.rowIndex="3"> + <Text fx:id="txtRooftype" text="Mittelhochdach" GridPane.columnIndex="1" GridPane.columnSpan="3" + GridPane.rowIndex="3"> <font> - <Font size="14.0" /> + <Font size="14.0"/> </font> </Text> + <Label fx:id="txtStatus" text="ZUM_BERUFUNGSORT" prefWidth="100" alignment="CENTER" + GridPane.valignment="CENTER" GridPane.columnIndex="3" + GridPane.rowIndex="0" styleClass="text-medium, button"> + <GridPane.margin> + <Insets left="12"/> + </GridPane.margin> + <padding> + <Insets topRightBottomLeft="3"/> + </padding> + </Label> + <VBox alignment="CENTER_RIGHT" GridPane.columnIndex="3" GridPane.rowIndex="2"> + <children> + <Button fx:id="btnRequest" alignment="CENTER" mnemonicParsing="false" prefWidth="100.0" text="Nachfordern"> + <styleClass> + <String fx:value="text-medium" /> + <String fx:value="button" /> + <String fx:value="button-main" /> + </styleClass> + </Button> + </children> + </VBox> </GridPane> |