Newer
Older
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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.DatePicker?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.schedulerapp.Controller">
<children>
<HBox prefHeight="100.0" prefWidth="200.0">
<children>
<Label text="Date" />
<DatePicker fx:id="addShiftDatePicker" />
</children>
</HBox>
<HBox fx:id="addShiftEmployeeHBox" prefHeight="100.0" prefWidth="200.0">
<children>
<Label text="Employee" />
<ComboBox fx:id="addShiftEmployeeBox" onMouseClicked="#populateEmployeeBox" prefWidth="150.0" />
</children>
</HBox>
<HBox prefHeight="100.0" prefWidth="200.0">
<children>
<HBox prefHeight="100.0" prefWidth="200.0">
<children>
<Label text="Start Time" />
<TextField fx:id="addShiftStartTime" />
</children>
</HBox>
<HBox prefHeight="100.0" prefWidth="200.0">
<children>
<Label text="End Time" />
<TextField fx:id="addShiftEndTime" />
</children>
</HBox>
</children>
</HBox>
<Button fx:id="addShiftSubmitButton" mnemonicParsing="false" onMouseClicked="#addShiftSubmitClicked" text="Submit" />
</children>
</VBox>