-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.fxml
55 lines (52 loc) · 3.17 KB
/
sample.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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.Menu?>
<?import javafx.scene.control.MenuBar?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="434.0" prefWidth="606.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="sample.Controller">
<children>
<ListView fx:id="formulaList" layoutX="2.0" layoutY="26.0" onMouseClicked="#itemSelected" prefHeight="368.0" prefWidth="191.0" />
<MenuBar prefHeight="25.0" prefWidth="281.0">
<menus>
<Menu mnemonicParsing="false" text="File">
<items>
<MenuItem mnemonicParsing="false" onAction="#displayAddFormulaForm" text="Add Formula" />
<MenuItem mnemonicParsing="false" onAction="#displayRemoveFormulaForm" text="Remove Formula" />
<MenuItem mnemonicParsing="false" onAction="#displayUnitsForm" text="Units" />
<MenuItem mnemonicParsing="false" onAction="#showFastCalc" text="Fast Calc" />
<MenuItem mnemonicParsing="false" onAction="#close" text="Close" />
</items>
</Menu>
</menus>
</MenuBar>
<TextArea fx:id="resultArea" editable="false" layoutX="196.0" layoutY="278.0" prefHeight="111.0" prefWidth="405.0" />
<Label layoutX="202.0" layoutY="259.0" prefHeight="19.0" prefWidth="53.0" text="Output:">
<font>
<Font size="13.0" />
</font>
</Label>
<Label fx:id="formulaLabel" layoutX="312.0" layoutY="25.0" prefHeight="31.0" prefWidth="288.0" text="Label">
<font>
<Font size="21.0" />
</font>
</Label>
<Button fx:id="calculateButton" layoutX="3.0" layoutY="397.0" mnemonicParsing="false" onAction="#calculate" prefHeight="30.0" prefWidth="596.0" text="Calculate">
<font>
<Font size="14.0" />
</font>
</Button>
<VBox fx:id="vBox1" layoutX="201.0" layoutY="60.0" prefHeight="202.0" prefWidth="70.0" spacing="5.0" />
<VBox fx:id="vBox2" layoutX="273.0" layoutY="60.0" prefHeight="202.0" prefWidth="281.0" spacing="5.0" />
<VBox fx:id="vBox3" layoutX="561.0" layoutY="60.0" prefHeight="202.0" prefWidth="41.0" spacing="5.0" />
<Button layoutX="281.0" mnemonicParsing="false" onAction="#displayAddFormulaForm" text="Add Formula" />
<Button layoutX="520.0" mnemonicParsing="false" onAction="#showFastCalc" prefHeight="25.0" prefWidth="84.0" text="FastCalc" />
<Button layoutX="365.0" mnemonicParsing="false" onAction="#displayRemoveFormulaForm" text="Remove Formula" />
<Button layoutX="470.0" mnemonicParsing="false" onAction="#displayUnitsForm" prefHeight="25.0" prefWidth="53.0" text="Units" />
</children>
</Pane>