-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWindowController.fxml
More file actions
98 lines (95 loc) · 4.49 KB
/
WindowController.fxml
File metadata and controls
98 lines (95 loc) · 4.49 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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.chart.CategoryAxis?>
<?import javafx.scene.chart.LineChart?>
<?import javafx.scene.chart.NumberAxis?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ButtonBar?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.control.ToggleButton?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.Pane?>
<AnchorPane prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/9.0.4" xmlns:fx="http://javafx.com/fxml/1" fx:controller="WindowController">
<Label fx:id="test" GridPane.rowIndex="1" />
<ScrollPane layoutX="600.0" prefHeight="600.0" prefWidth="200.0" style="-fx-border-color: black; -fx-border-width: 1px;">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="200.0" prefWidth="200.0">
<children>
<Button layoutX="15.0" layoutY="19.0" onAction="#test" text="Fn 1" />
</children>
</AnchorPane>
</content>
</ScrollPane>
<TabPane layoutY="60.0" prefHeight="349.0" prefWidth="600.0" tabClosingPolicy="UNAVAILABLE">
<tabs>
<Tab text="Overview">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="343.0" prefWidth="502.0">
<children>
<LineChart layoutX="242.0" layoutY="14.0" prefHeight="238.0" prefWidth="344.0" title="GDP">
<xAxis>
<CategoryAxis side="BOTTOM" />
</xAxis>
<yAxis>
<NumberAxis side="LEFT" />
</yAxis>
</LineChart>
<Label layoutX="41.0" layoutY="32.0" text="Total Output" />
<Label layoutX="41.0" layoutY="50.0" text="Label" />
<Label layoutX="41.0" layoutY="68.0" text="Label" />
<Label layoutX="41.0" layoutY="104.0" text="Label" />
<Label layoutX="41.0" layoutY="86.0" text="Label" />
<Label layoutX="105.0" layoutY="14.0" text="Label" />
<Label id="gdp" layoutX="157.0" layoutY="32.0" text="GDP" />
<ToggleButton layoutX="71.0" layoutY="225.0" mnemonicParsing="false" text="ToggleButton" />
</children></AnchorPane>
</content>
</Tab>
<Tab text="Economy">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" />
</content>
</Tab>
<Tab text="Company">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" />
</content>
</Tab>
<Tab text="Markets">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" />
</content>
</Tab>
<Tab text="Resources">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" />
</content>
</Tab>
<Tab>
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" />
</content>
</Tab>
</tabs>
</TabPane>
<Pane prefHeight="60.0" prefWidth="600.0" style="-fx-border-color: black; -fx-border-width: 1px;">
<children>
<ButtonBar layoutX="10.0" layoutY="5.0" prefHeight="40.0" prefWidth="460.0">
<buttons>
<CheckBox id="autorun" minWidth="0.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="139.0" text="Autorun" />
<Button id="advanceTime" mnemonicParsing="false" onAction="#sim" text="Advance Tick" />
<Button minWidth="28.0" mnemonicParsing="false" prefHeight="32.0" text="1x" />
<Button mnemonicParsing="false" text="2x" />
<Button mnemonicParsing="false" text="3x" />
</buttons>
</ButtonBar>
<Label layoutX="512.0" layoutY="16.0" text="Y | Q | T" />
<Label id="curTime" alignment="CENTER" contentDisplay="CENTER" layoutX="511.0" layoutY="36.0" text="Y | Q | T" textAlignment="CENTER" />
</children>
</Pane>
<Pane layoutY="413.0" prefHeight="187.0" prefWidth="600.0" />
</AnchorPane>