1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
<?xml version="1.0" encoding="UTF-8"?>
<?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.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"/>
<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>
|