summaryrefslogtreecommitdiffstats
path: root/src/main/resources/fxml/CreateOperationController.fxml
diff options
context:
space:
mode:
authorViktoria Pundy <viktoria.pundy@aon.at>2018-05-04 12:06:52 +0200
committerViktoria Pundy <viktoria.pundy@aon.at>2018-05-06 18:12:30 +0200
commitfa0991ed6d68e8658f7e413f4a765f12791486bf (patch)
tree8f181c4d9fb82d73a684073a63035086db3109bb /src/main/resources/fxml/CreateOperationController.fxml
parent3cf6a6ad7c46b82a77691f7c42e2e9b53967570c (diff)
downloadsepm-groupproject-fa0991ed6d68e8658f7e413f4a765f12791486bf.tar.gz
sepm-groupproject-fa0991ed6d68e8658f7e413f4a765f12791486bf.tar.xz
sepm-groupproject-fa0991ed6d68e8658f7e413f4a765f12791486bf.zip
Finished implementing needed methods in Persistence layer, added some validation factors for operation validation;
Added methods to ui to add/remove vehicles to operation, created dummy vehicles
Diffstat (limited to 'src/main/resources/fxml/CreateOperationController.fxml')
-rw-r--r--src/main/resources/fxml/CreateOperationController.fxml94
1 files changed, 94 insertions, 0 deletions
diff --git a/src/main/resources/fxml/CreateOperationController.fxml b/src/main/resources/fxml/CreateOperationController.fxml
new file mode 100644
index 0000000..949d4ec
--- /dev/null
+++ b/src/main/resources/fxml/CreateOperationController.fxml
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.control.Label?>
+<?import javafx.scene.control.ListView?>
+<?import javafx.scene.control.TextField?>
+<?import javafx.scene.layout.AnchorPane?>
+<?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.userInterface.CreateOperationController">
+ <children>
+ <AnchorPane layoutX="964.0" layoutY="-66.0" prefHeight="182.0" prefWidth="1200.0" style="-fx-background-color: blue;" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0" />
+ <AnchorPane fx:id="apCreateOperation" layoutX="40.0" layoutY="71.0" prefHeight="151.0" prefWidth="920.0" style="-fx-background-color: white;">
+ <children>
+ <Label layoutX="14.0" layoutY="14.0" prefHeight="30.0" prefWidth="62.0" text="Code">
+ <font>
+ <Font size="19.0" />
+ </font>
+ </Label>
+ <Label layoutX="185.0" layoutY="14.0" prefHeight="30.0" prefWidth="94.0" text="Adresse">
+ <font>
+ <Font size="19.0" />
+ </font>
+ </Label>
+ <Label layoutX="587.0" layoutY="14.0" prefHeight="30.0" prefWidth="121.0" text="Anmerkung">
+ <font>
+ <Font size="19.0" />
+ </font>
+ </Label>
+ <TextField fx:id="txtCode" layoutX="14.0" layoutY="48.0" prefHeight="39.0" prefWidth="163.0">
+ <font>
+ <Font name="System Bold" size="20.0" />
+ </font>
+ </TextField>
+ <TextField fx:id="txtAddress" layoutX="185.0" layoutY="48.0" prefHeight="39.0" prefWidth="396.0">
+ <font>
+ <Font name="System Bold" size="20.0" />
+ </font>
+ </TextField>
+ <TextField fx:id="txtNote" layoutX="587.0" layoutY="48.0" prefHeight="39.0" prefWidth="319.0">
+ <font>
+ <Font name="System Bold" size="20.0" />
+ </font>
+ </TextField>
+ <Label layoutX="14.0" layoutY="101.0" prefHeight="30.0" prefWidth="102.0" text="Fahrzeuge:">
+ <font>
+ <Font size="19.0" />
+ </font>
+ </Label>
+ <Label fx:id="lblChosenVehicles" layoutX="116.0" layoutY="102.0" prefHeight="30.0" prefWidth="610.0" text="keine ausgewählt">
+ <font>
+ <Font size="19.0" />
+ </font>
+ </Label>
+ <Button fx:id="btnCreateOperation" layoutX="740.0" layoutY="95.0" mnemonicParsing="false" onAction="#createOperationClicked" prefHeight="0.0" prefWidth="158.0" text="Erstellen">
+ <font>
+ <Font name="System Bold" size="21.0" />
+ </font>
+ </Button>
+ </children>
+ </AnchorPane>
+ <Label layoutX="55.0" layoutY="38.0" text="Anmeldungen" textFill="WHITE">
+ <font>
+ <Font size="15.0" />
+ </font>
+ </Label>
+ <Label layoutX="802.0" layoutY="38.0" text="Personen" textFill="WHITE">
+ <font>
+ <Font size="15.0" />
+ </font>
+ </Label>
+ <Label layoutX="877.0" layoutY="38.0" text="Fahrzeuge" textFill="WHITE">
+ <font>
+ <Font size="15.0" />
+ </font>
+ </Label>
+ <AnchorPane fx:id="apActiveOperations" layoutX="973.0" layoutY="69.0" prefHeight="243.0" prefWidth="207.0" style="-fx-background-color: white;">
+ <children>
+ <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="14.0" prefHeight="46.0" prefWidth="103.0" text="Aktive Einsätze">
+ <font>
+ <Font name="System Bold" size="14.0" />
+ </font>
+ </Label>
+ <Label layoutX="148.0" layoutY="28.0" text="Archiv">
+ <font>
+ <Font size="13.0" />
+ </font>
+ </Label>
+ </children>
+ </AnchorPane>
+ <ListView fx:id="lvVehicles" layoutX="41.0" layoutY="222.0" prefHeight="394.0" prefWidth="918.0" />
+ </children>
+</AnchorPane>