forked from mridulamurali/Student-Attendance-Tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
StudentProfilePage.fxml
98 lines (97 loc) · 4.92 KB
/
StudentProfilePage.fxml
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.collections.FXCollections?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.shape.Rectangle?>
<?import javafx.scene.text.*?>
<?import java.lang.*?>
<BorderPane xmlns:fx="http://javafx.com/fxml/1" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity"
prefHeight="400.0" prefWidth="600.0" style="-fx-background-color: azure;"
xmlns="http://javafx.com/javafx/11.0.1" fx:controller="sample.StudentPageController">
<top>
<Label fx:id="TitleLabel" alignment="CENTER" prefHeight="36.0" prefWidth="227.0" BorderPane.alignment="CENTER">
<font>
<Font name="Century" size="12.0"/>
</font>
</Label>
</top>
<center>
<TableView fx:id="Table" prefHeight="320.0" prefWidth="508.0" BorderPane.alignment="CENTER">
<columns>
<TableColumn fx:id="monthcol" prefWidth="75.0" text="Month"/>
<TableColumn fx:id="subjectcol" prefWidth="117.00000154972076" text="Subject"/>
<TableColumn fx:id="presentcol" prefWidth="96.9999771118164" text="Present"/>
<TableColumn fx:id="latecol" prefWidth="84.20001220703125" text="Late"/>
<TableColumn fx:id="excusedcol" prefWidth="87.0" text="Excused"/>
<TableColumn fx:id="unexcusedcol" prefWidth="106.800048828125" text="Unexcused"/>
</columns>
<columnResizePolicy>
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
</columnResizePolicy>
</TableView>
</center>
<left>
<VBox prefHeight="364.0" prefWidth="107.0" BorderPane.alignment="CENTER">
<children>
<Label fx:id="display" alignment="CENTER" contentDisplay="CENTER" prefHeight="34.0" prefWidth="123.0"
text="Filter records" wrapText="true">
<font>
<Font name="Century" size="12.0"/>
</font>
</Label>
<Label alignment="TOP_CENTER" prefHeight="21.0" prefWidth="123.0" text="Subject">
<Font name="Century"/>
<font>
<Font name="Century" size="12.0"/>
</font>
</Label>
<ChoiceBox fx:id="subject" prefWidth="150.0">
<items>
<FXCollections fx:factory="observableArrayList">
<String fx:value="19Z301"/>
<String fx:value="19Z302"/>
<String fx:value="19Z303"/>
<String fx:value="19Z304"/>
<String fx:value="19Z305"/>
<String fx:value="19Z306"/>
<String fx:value="19Z310"/>
<String fx:value="19Z311"/>
<String fx:value="19K312"/>
</FXCollections>
</items>
</ChoiceBox>
<Label alignment="CENTER" prefHeight="26.0" prefWidth="123.0" text="Month">
<Font name="Century"/>
<font>
<Font name="Century" size="12.0"/>
</font>
</Label>
<ChoiceBox fx:id="month" prefWidth="150.0">
<items>
<FXCollections fx:factory="observableArrayList">
<String fx:value="October"/>
<String fx:value="September"/>
<String fx:value="August"/>
</FXCollections>
</items>
</ChoiceBox>
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#1f93ff00" height="15.0" stroke="BLACK"
strokeType="INSIDE" strokeWidth="0.0" width="123.0"/>
<Button alignment="CENTER" contentDisplay="CENTER" mnemonicParsing="false" onAction="#DisplayRecords"
prefHeight="26.0" prefWidth="123.0" text="Get Records">
<font>
<Font name="Century" size="12.0"/>
</font>
</Button>
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#1f93ff00" height="38.0" stroke="BLACK"
strokeType="INSIDE" strokeWidth="0.0" width="121.0"/>
<Button alignment="CENTER" mnemonicParsing="false" onAction="#logOut" prefHeight="26.0"
prefWidth="125.0" text="Log Out">
<font>
<Font name="Century" size="12.0"/>
</font>
</Button>
</children>
</VBox>
</left>
</BorderPane>