forked from nus-cs2103-AY1920S1/addressbook-level3
/
MainWindow.fxml
120 lines (117 loc) · 7.04 KB
/
MainWindow.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
<?xml version="1.0" encoding="UTF-8"?>
<?import java.net.URL?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.Scene?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Menu?>
<?import javafx.scene.control.MenuBar?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.effect.DropShadow?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.stage.Stage?>
<fx:root fx:id="appStage" height="650.0" minHeight="650.0" minWidth="1250.0" onCloseRequest="#handleExit" title="Address App" type="javafx.stage.Stage" width="1250.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
<icons>
<Image url="@/images/address_book_32.png" />
</icons>
<scene>
<Scene fx:id="appScene" fill="#161d33">
<stylesheets>
<URL value="@DarkTheme.css" />
<URL value="@Extensions.css" />
</stylesheets>
<VBox fx:id="appBox" maxWidth="1250.0" prefHeight="650.0" prefWidth="1250.0" styleClass="appBox" stylesheets="@DarkTheme.css">
<AnchorPane maxHeight="30.0" prefWidth="1250.0" VBox.vgrow="NEVER">
<children>
<MenuBar fx:id="menuBar" layoutX="16.0" layoutY="-5.0" prefWidth="1250.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<Menu fx:id="fileButton" mnemonicParsing="false" text="File">
<MenuItem mnemonicParsing="false" onAction="#handleExit" text="Exit" />
</Menu>
<Menu fx:id="helpButton" mnemonicParsing="false" text="Help">
<MenuItem fx:id="helpMenuItem" mnemonicParsing="false" onAction="#handleHelp" text="Help" />
</Menu>
</MenuBar>
<HBox layoutX="150.0" AnchorPane.leftAnchor="150.0" AnchorPane.rightAnchor="268.0">
<children>
<StackPane fx:id="commandBoxPlaceholder" prefWidth="800.0" HBox.hgrow="ALWAYS" />
<StackPane fx:id="notificationButtonPlaceholder" alignment="TOP_CENTER" maxWidth="22.0" prefHeight="22.0" prefWidth="22.0" HBox.hgrow="SOMETIMES">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin></StackPane>
</children>
</HBox>
<HBox layoutX="1064.0" AnchorPane.rightAnchor="0.0">
<children>
<Button fx:id="minimiseButton" mnemonicParsing="false" prefHeight="30.0" prefWidth="45.0">
<HBox.margin>
<Insets />
</HBox.margin>
<padding>
<Insets right="5.0" />
</padding></Button>
<Button fx:id="maximiseButton" mnemonicParsing="false" prefHeight="30.0" prefWidth="45.0" />
<Button fx:id="exitButton" mnemonicParsing="false" onAction="#handleExit" prefHeight="30.0" prefWidth="45.0" />
</children>
</HBox>
</children>
<effect>
<DropShadow blurType="GAUSSIAN" height="28.91" offsetY="2.0" radius="11.9775" spread="0.23" />
</effect>
</AnchorPane>
<StackPane fx:id="resultDisplayPlaceholder" maxHeight="80.0" prefHeight="80.0" prefWidth="1220.0" styleClass="stack-pane" VBox.vgrow="ALWAYS">
<VBox.margin>
<Insets left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<effect>
<DropShadow blurType="GAUSSIAN" height="40.81" offsetY="5.0" radius="19.7025" spread="0.18" width="40.0" />
</effect>
</StackPane>
<VBox prefHeight="575.0" spacing="15.0" VBox.vgrow="ALWAYS">
<children>
<HBox prefHeight="450.0" spacing="15.0" VBox.vgrow="ALWAYS">
<children>
<StackPane fx:id="workerListPanelPlaceholder" prefWidth="204.0" styleClass="stack-pane" HBox.hgrow="ALWAYS">
<effect>
<DropShadow blurType="GAUSSIAN" height="40.81" offsetY="5.0" radius="19.7025" spread="0.18" width="40.0" />
</effect>
</StackPane>
<StackPane fx:id="bodyMasterListPlaceholder" prefHeight="475.0" prefWidth="1000.0" styleClass="stack-pane" HBox.hgrow="ALWAYS">
<effect>
<DropShadow blurType="GAUSSIAN" height="40.81" offsetY="5.0" radius="19.7025" spread="0.18" width="40.0" />
</effect>
</StackPane>
</children>
</HBox>
<HBox prefHeight="220.0" spacing="15.0" VBox.vgrow="ALWAYS">
<children>
<StackPane fx:id="fridgeListPlaceholder" prefWidth="204.0" styleClass="stack-pane" HBox.hgrow="ALWAYS">
<effect>
<DropShadow blurType="GAUSSIAN" height="40.81" offsetY="5.0" radius="19.7025" spread="0.18" width="40.0" />
</effect>
</StackPane>
<StackPane fx:id="lineChartPanelPlaceholder" prefWidth="1000.0" styleClass="stack-pane" HBox.hgrow="ALWAYS">
<effect>
<DropShadow blurType="GAUSSIAN" height="40.81" offsetY="5.0" radius="19.7025" spread="0.18" width="40.0" />
</effect>
<padding>
<Insets bottom="5.0" left="5.0" top="5.0" />
</padding>
</StackPane>
</children>
</HBox>
</children>
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
</VBox>
<StackPane fx:id="statusbarPlaceholder" VBox.vgrow="NEVER">
<VBox.margin>
<Insets />
</VBox.margin></StackPane>
</VBox>
</Scene>
</scene>
</fx:root>