This repository was archived by the owner on May 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDVD.fxml
More file actions
179 lines (177 loc) · 10.9 KB
/
DVD.fxml
File metadata and controls
179 lines (177 loc) · 10.9 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Point3D?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?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?>
<?import javafx.scene.text.Font?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/10.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="DVDController">
<bottom>
<GridPane prefHeight="30.0" prefWidth="600.0" style="-fx-background-color: f49b42;" BorderPane.alignment="CENTER">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints />
<RowConstraints />
<RowConstraints />
<RowConstraints />
</rowConstraints>
<children>
<HBox prefHeight="100.0" prefWidth="200.0" GridPane.columnIndex="2">
<children>
<Label text="Username:" textFill="WHITE" />
<Label fx:id="username" prefHeight="17.0" prefWidth="95.0" textFill="WHITE" />
<ImageView fitHeight="28.0" fitWidth="34.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../../../Downloads/will%20in%20the%20scooby%20squad.jpg" />
</image>
</ImageView>
</children>
</HBox>
<HBox prefHeight="100.0" prefWidth="200.0">
<children>
<Button alignment="CENTER" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" onAction="#handleAccount" prefHeight="26.0" prefWidth="88.0" stylesheets="@ButtonO.css" text="Account" />
<Button alignment="CENTER" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" onAction="#handleSignOut" prefHeight="26.0" prefWidth="88.0" stylesheets="@ButtonO.css" text="Sign Out" />
</children>
</HBox>
</children>
</GridPane>
</bottom>
<left>
<AnchorPane prefHeight="355.0" prefWidth="101.0" BorderPane.alignment="CENTER">
<children>
<VBox layoutX="-1.0" prefHeight="370.0" prefWidth="104.0" style="-fx-background-color: d2fdfe;">
<children>
<GridPane prefHeight="248.0" prefWidth="104.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="57.0" minWidth="0.0" prefWidth="11.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="107.0" minWidth="10.0" prefWidth="86.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="107.0" minWidth="7.0" prefWidth="7.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints maxHeight="75.0" minHeight="10.0" prefHeight="50.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="144.0" minHeight="10.0" prefHeight="60.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="159.0" minHeight="10.0" prefHeight="60.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="159.0" minHeight="10.0" prefHeight="60.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="159.0" minHeight="10.0" prefHeight="60.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="30.0" prefWidth="86.0" stylesheets="@ButtonB.css" onAction="#handleHome" text="Home" GridPane.columnIndex="1">
<rotationAxis>
<Point3D />
</rotationAxis>
</Button>
<Button alignment="CENTER" mnemonicParsing="false" onAction="#handleResource" prefHeight="37.0" prefWidth="86.0" stylesheets="@ButtonB.css" text="Resources" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Button alignment="CENTER" mnemonicParsing="false" onAction="#handleLoans" prefHeight="42.0" prefWidth="86.0" stylesheets="@ButtonB.css" text="Borrowed Items" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Button alignment="CENTER" mnemonicParsing="false" onAction="#handleIssueDesk" prefHeight="44.0" prefWidth="86.0" stylesheets="@ButtonB.css" text="Issue Desk" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<Button alignment="CENTER" mnemonicParsing="false" onAction="#handleAddFunds" prefHeight="44.0" prefWidth="86.0" stylesheets="@ButtonB.css" text="Add Funds" GridPane.columnIndex="1" GridPane.rowIndex="4" />
</children>
</GridPane>
</children>
</VBox>
</children></AnchorPane>
</left>
<center>
<AnchorPane prefHeight="355.0" prefWidth="456.0" style="-fx-background-color: #E1f5fe;" BorderPane.alignment="CENTER">
<children>
<GridPane prefHeight="344.0" prefWidth="492.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="301.0" minWidth="10.0" prefWidth="267.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="296.0" minWidth="0.0" prefWidth="188.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="208.0" minWidth="10.0" prefWidth="37.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints maxHeight="165.0" minHeight="10.0" prefHeight="61.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="283.0" minHeight="10.0" prefHeight="224.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="225.0" minHeight="1.0" prefHeight="3.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<GridPane prefHeight="344.0" prefWidth="492.0" GridPane.rowIndex="1">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="301.0" minWidth="10.0" prefWidth="232.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints maxHeight="165.0" minHeight="10.0" prefHeight="36.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="283.0" minHeight="0.0" prefHeight="38.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="283.0" minHeight="10.0" prefHeight="37.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="225.0" minHeight="10.0" prefHeight="39.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="225.0" minHeight="10.0" prefHeight="36.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="225.0" minHeight="10.0" prefHeight="49.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<HBox prefHeight="55.0" prefWidth="178.0">
<children>
<Label text="Year: " />
<Label fx:id="year" text="(Year)" />
</children>
</HBox>
<HBox prefHeight="55.0" prefWidth="178.0" GridPane.rowIndex="1">
<children>
<Label text="Director:" />
<Label fx:id="director" text="(Director)" />
</children>
</HBox>
<HBox prefHeight="99.0" prefWidth="187.0" GridPane.rowIndex="2">
<children>
<Label text="Runtime:" />
<Label fx:id="runtime" text="(Runtime)" />
</children>
</HBox>
<HBox prefHeight="138.0" prefWidth="193.0" GridPane.rowIndex="3">
<children>
<Label text="Language: " />
<Label fx:id="language" text="(Language)" />
</children>
</HBox>
<HBox prefHeight="138.0" prefWidth="193.0" GridPane.rowIndex="4">
<children>
<Label prefHeight="17.0" prefWidth="59.0" text="Subtitles:" />
<Label fx:id="subtitles" text="(subtitles)" />
</children>
</HBox>
<HBox prefHeight="100.0" prefWidth="200.0" GridPane.rowIndex="5">
<children>
<Label text="Number Of Copies:" />
<Label fx:id="copies" prefHeight="17.0" prefWidth="47.0" text="(numOfCopies)" />
</children>
</HBox>
</children>
</GridPane>
<TableView fx:id="tableView" prefHeight="243.0" prefWidth="208.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
<columns>
<TableColumn fx:id="copyID" prefWidth="112.0" text="CopyID" />
<TableColumn fx:id="available" prefWidth="74.0" text="Available" />
</columns>
</TableView>
<HBox prefHeight="100.0" prefWidth="200.0">
<children>
<Label fx:id="title" prefHeight="47.0" prefWidth="267.0" style="-fx-underline: true;" text="Title of DVD" textAlignment="CENTER">
<font>
<Font size="24.0" />
</font>
</Label>
</children>
</HBox>
<ImageView fitHeight="74.0" fitWidth="77.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="1">
<image>
<Image fx:id="image" url="@cd-dvd.jpg" />
</image>
</ImageView>
</children>
</GridPane>
</children>
</AnchorPane>
</center>
</BorderPane>