-
Notifications
You must be signed in to change notification settings - Fork 3
/
EditRecordPage.fxml
198 lines (197 loc) · 11.9 KB
/
EditRecordPage.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.collections.FXCollections?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?>
<?import javafx.scene.effect.Blend?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.shape.*?>
<?import javafx.scene.text.*?>
<?import java.lang.*?>
<BorderPane xmlns:fx="http://javafx.com/fxml/1" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity"
prefHeight="433.0" prefWidth="600.0" style="-fx-background-color: azure;"
xmlns="http://javafx.com/javafx/11.0.1" fx:controller="sample.EditRecordController">
<top>
<Label fx:id="Title" alignment="CENTER" prefHeight="46.0" prefWidth="227.0"
text="Edit Attendance Records For CSE-G2" BorderPane.alignment="TOP_CENTER">
<font>
<Font name="Century" size="12.0"/>
</font>
</Label>
</top>
<center>
<HBox alignment="CENTER" prefHeight="313.0" prefWidth="600.0" BorderPane.alignment="CENTER">
<children>
<VBox prefHeight="354.0" prefWidth="163.0">
<children>
<Label alignment="CENTER" contentDisplay="RIGHT" prefHeight="27.0" prefWidth="156.0"
text="Roll Number of Student" wrapText="true">
<font>
<Font name="Century" size="12.0"/>
</font>
</Label>
<Label alignment="CENTER" prefHeight="55.0" prefWidth="156.0" text="Select Subject"
wrapText="true">
<font>
<Font name="Century" size="13.0"/>
</font>
</Label>
<Label alignment="CENTER" prefHeight="29.0" prefWidth="156.0" text="Select Month"
wrapText="true">
<font>
<Font name="Century" size="13.0"/>
</font>
</Label>
<Label alignment="CENTER" contentDisplay="CENTER" prefHeight="67.0" prefWidth="163.0"
text="Parameters to be Altered" wrapText="true">
<font>
<Font name="Century" size="13.0"/>
</font>
</Label>
</children>
</VBox>
<VBox prefHeight="354.0" prefWidth="206.0">
<children>
<TextField fx:id="rollno" prefHeight="23.0" prefWidth="122.0">
<font>
<Font name="Century" size="12.0"/>
</font>
<VBox.margin>
<Insets right="45.0"/>
</VBox.margin>
</TextField>
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#1f93ff00" height="17.0" stroke="BLACK"
strokeType="INSIDE" strokeWidth="0.0" width="145.0"/>
<ChoiceBox fx:id="subject" prefHeight="26.0" prefWidth="155.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"/>
</FXCollections>
</items>
</ChoiceBox>
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#1f93ff00" height="17.0" stroke="BLACK"
strokeType="INSIDE" strokeWidth="0.0" width="146.0"/>
<ChoiceBox fx:id="month" prefHeight="26.0" prefWidth="154.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="17.0" stroke="BLACK"
strokeType="INSIDE" strokeWidth="0.0" width="146.0"/>
<SplitPane fx:id="splitpane" dividerPositions="0.47160243407707914" prefHeight="141.0"
prefWidth="206.0" style="-fx-background-color: azure;">
<items>
<VBox prefHeight="172.0" prefWidth="95.0">
<children>
<CheckBox fx:id="pcheck" contentDisplay="RIGHT" mnemonicParsing="false"
onAction="#showptext" prefHeight="33.0" prefWidth="88.0"
text="Present">
<font>
<Font name="Century" size="12.0"/>
</font>
</CheckBox>
<CheckBox fx:id="lcheck" mnemonicParsing="false" onAction="#showltext"
prefHeight="37.0" prefWidth="88.0" text="Late">
<font>
<Font name="Century" size="12.0"/>
</font>
</CheckBox>
<CheckBox fx:id="echeck" mnemonicParsing="false" onAction="#showetext"
prefHeight="47.0" prefWidth="83.0" text="Excused">
<font>
<Font name="Century" size="12.0"/>
</font>
</CheckBox>
<CheckBox fx:id="ucheck" mnemonicParsing="false" onAction="#showutext"
prefHeight="33.0" prefWidth="90.0" text="Unexcused">
<font>
<Font name="Century" size="12.0"/>
</font>
</CheckBox>
</children>
</VBox>
<VBox prefHeight="200.0" prefWidth="100.0">
<children>
<TextField fx:id="presentval" prefHeight="5.0" prefWidth="100.0"
promptText="Present" visible="false">
<font>
<Font name="Century" size="12.0"/>
</font>
</TextField>
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#1f93ff00" height="15.0"
stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" width="100.0"/>
<TextField fx:id="lateval" promptText="Late" visible="false">
<font>
<Font name="Century" size="12.0"/>
</font>
</TextField>
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#1f93ff00" height="15.0"
stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" width="100.0"/>
<TextField fx:id="excusedval" promptText="Excused" visible="false">
<font>
<Font name="Century" size="13.0"/>
</font>
</TextField>
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#1f93ff00" height="15.0"
stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" width="100.0"/>
<TextField fx:id="unexcusedval" promptText="Unexcused" visible="false">
<font>
<Font name="Century" size="12.0"/>
</font>
</TextField>
</children>
</VBox>
</items>
<effect>
<Blend/>
</effect>
</SplitPane>
</children>
</VBox>
</children>
</HBox>
</center>
<bottom>
<HBox alignment="TOP_CENTER" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="62.0" prefWidth="607.0"
BorderPane.alignment="TOP_CENTER">
<children>
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#1f93ff00" height="60.0" stroke="BLACK"
strokeType="INSIDE" strokeWidth="0.0" width="250.0" HBox.hgrow="ALWAYS"/>
<VBox alignment="BOTTOM_CENTER" prefHeight="132.0" prefWidth="106.0">
<children>
<Button alignment="CENTER" contentDisplay="CENTER" mnemonicParsing="false"
onAction="#EditRecords" prefHeight="23.0" prefWidth="105.0" text="Edit Record"
VBox.vgrow="ALWAYS">
<font>
<Font name="Century" size="12.0"/>
</font>
</Button>
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#1f93ff00" height="20.0" stroke="BLACK"
strokeType="INSIDE" strokeWidth="0.0" width="106.0"/>
<Button alignment="CENTER" mnemonicParsing="false" onAction="#BackToHomePage" prefHeight="16.0"
prefWidth="106.0" text="Back ">
<font>
<Font name="Century" size="12.0"/>
</font>
</Button>
</children>
<HBox.margin>
<Insets bottom="35.0"/>
</HBox.margin>
</VBox>
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#1f93ff00" height="60.0" stroke="BLACK"
strokeType="INSIDE" strokeWidth="0.0" width="250.0" HBox.hgrow="ALWAYS"/>
</children>
</HBox>
</bottom>
</BorderPane>