-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.fxml
More file actions
83 lines (81 loc) · 3.64 KB
/
sample.fxml
File metadata and controls
83 lines (81 loc) · 3.64 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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<VBox alignment="TOP_CENTER" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" spacing="5.0" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="sample.Controller">
<children>
<HBox prefHeight="90.0" prefWidth="600.0" spacing="5.0">
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</padding>
<children>
<VBox prefHeight="70.0" prefWidth="314.0" spacing="7.0">
<children>
<HBox spacing="5.0">
<children>
<Label text="Hole Starting Address">
<font>
<Font size="16.0" />
</font>
</Label>
<TextField fx:id="holeaddressinput" prefHeight="30.0" prefWidth="134.0" promptText="Enter hole address" />
</children>
<VBox.margin>
<Insets />
</VBox.margin>
</HBox>
<HBox prefHeight="35.0" prefWidth="275.0" spacing="10.0">
<children>
<Label prefHeight="27.0" prefWidth="147.0" text="Hole Size ">
<font>
<Font size="16.0" />
</font>
</Label>
<TextField fx:id="holesizeinput" prefHeight="26.0" prefWidth="139.0" promptText="Enter hole size" />
</children>
</HBox>
</children>
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</VBox>
<Button fx:id="addholebtn" mnemonicParsing="false" onAction="#addholebtnclicked" prefHeight="62.0" prefWidth="102.0" text="Add">
<font>
<Font size="14.0" />
</font></Button>
<Button fx:id="removeholebtn" disable="true" mnemonicParsing="false" onAction="#removeholebtnclicked" prefHeight="62.0" prefWidth="94.0" text="Remove">
<HBox.margin>
<Insets left="32.0" />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</Button>
</children>
<VBox.margin>
<Insets top="5.0" />
</VBox.margin>
</HBox>
<TableView fx:id="holestable" maxHeight="-Infinity" maxWidth="-Infinity" onMouseClicked="#tableclicked" prefHeight="240.0" prefWidth="555.0">
<columns>
<TableColumn fx:id="holesadresses" prefWidth="285.59998166561127" text="Hole Starting Address" />
<TableColumn fx:id="holessizes" prefWidth="268.80000610351567" text="Hole Size" />
</columns>
</TableView>
<HBox alignment="CENTER" prefHeight="55.0" prefWidth="600.0">
<children>
<Button fx:id="btn1" mnemonicParsing="false" onAction="#btn1clicked" text="Start Entering Processes">
<font>
<Font size="14.0" />
</font>
</Button>
</children>
</HBox>
</children>
</VBox>