-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbed_ui.fxml
93 lines (91 loc) · 4.73 KB
/
bed_ui.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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="1009.0" styleClass="gradient-background" stylesheets="@styles.css" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.hopeitworks.BedDetailController">
<top>
<HBox alignment="BOTTOM_LEFT" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="51.0" prefWidth="1002.0" BorderPane.alignment="CENTER">
<children>
<Label alignment="CENTER" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="53.0" prefWidth="214.0" styleClass="shadow" text="Bed Info">
<font>
<Font name="Berlin Sans FB" size="20.0" />
</font>
</Label>
<HBox prefHeight="51.0" prefWidth="785.0">
<children>
<HBox prefHeight="51.0" prefWidth="582.0">
<children>
<HBox prefHeight="51.0" prefWidth="442.0" />
<HBox alignment="CENTER" prefHeight="51.0" prefWidth="109.0" />
</children>
</HBox>
</children>
<padding>
<Insets top="5.0" />
</padding></HBox>
</children>
</HBox>
</top>
<left>
<VBox prefHeight="549.0" prefWidth="206.0" styleClass="container" stylesheets="@styles.css" BorderPane.alignment="CENTER">
<children>
<HBox prefHeight="35.0" prefWidth="206.0">
<children>
<Label alignment="CENTER" contentDisplay="CENTER" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="53.0" prefWidth="206.0" text="Ward Name" textFill="#037c7c">
<font>
<Font name="Berlin Sans FB" size="25.0" />
</font>
</Label>
</children>
</HBox>
<Button mnemonicParsing="false" onAction="#general" prefHeight="80.0" prefWidth="214.0" styleClass="container" text="General Ward" textFill="#037c7c">
<font>
<Font name="Berlin Sans FB" size="18.0" />
</font>
</Button>
<Button mnemonicParsing="false" onAction="#emergency" prefHeight="80.0" prefWidth="214.0" styleClass="container" text="Emergency Ward" textFill="#037c7c">
<font>
<Font name="Berlin Sans FB" size="18.0" />
</font>
</Button>
<Button mnemonicParsing="false" onAction="#ICU" prefHeight="80.0" prefWidth="214.0" styleClass="container" text="ICU" textFill="#037c7c">
<font>
<Font name="Berlin Sans FB" size="18.0" />
</font>
</Button>
<Button mnemonicParsing="false" onAction="#privatea" prefHeight="80.0" prefWidth="214.0" styleClass="container" text="Private A" textFill="#037c7c">
<font>
<Font name="Berlin Sans FB" size="18.0" />
</font>
</Button>
<Button mnemonicParsing="false" onAction="#privateb" prefHeight="80.0" prefWidth="214.0" styleClass="container" text="Private B" textFill="#037c7c">
<font>
<Font name="Berlin Sans FB" size="18.0" />
</font>
</Button>
<HBox layoutX="10.0" layoutY="10.0" prefHeight="35.0" prefWidth="206.0" />
</children>
</VBox>
</left>
<right>
<VBox alignment="TOP_RIGHT" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="531.0" prefWidth="226.0" spacing="20.0" styleClass="shadow" stylesheets="@styles.css" BorderPane.alignment="CENTER_LEFT">
<children>
<HBox prefHeight="348.0" prefWidth="226.0" />
<VBox alignment="BOTTOM_LEFT" prefHeight="160.0" prefWidth="226.0" />
</children>
<opaqueInsets>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</opaqueInsets>
<padding>
<Insets bottom="10.0" />
</padding>
</VBox>
</right>
<center>
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="536.0" prefWidth="530.0" BorderPane.alignment="CENTER" />
</center>
</BorderPane>