-
Notifications
You must be signed in to change notification settings - Fork 0
/
Units.fxml
25 lines (23 loc) · 1.67 KB
/
Units.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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.Pane?>
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="460.0" prefWidth="430.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="sample.UnitsLogic">
<children>
<TableView fx:id="unitPreview" layoutX="4.0" layoutY="7.0" prefHeight="352.0" prefWidth="418.0">
<columns>
<TableColumn fx:id="ID" prefWidth="66.0" text="ID" />
<TableColumn fx:id="Unit" editable="false" prefWidth="99.0" text="Unit" />
<TableColumn fx:id="Range" prefWidth="113.0" text="Range/S.I." />
<TableColumn fx:id="Relation" prefWidth="139.0" text="Relation" />
</columns>
</TableView>
<Button fx:id="deleteUnitButton" layoutX="4.0" layoutY="428.0" mnemonicParsing="false" onAction="#deleteUnit" prefHeight="25.0" prefWidth="418.0" text="Delete" />
<TextField fx:id="unitTextField" layoutX="4.0" layoutY="368.0" prefHeight="25.0" prefWidth="162.0" promptText="Unit" />
<TextField fx:id="rangeTextField" layoutX="169.0" layoutY="368.0" prefHeight="25.0" prefWidth="117.0" promptText="Range" />
<TextField fx:id="relationTextField" layoutX="290.0" layoutY="368.0" prefHeight="25.0" prefWidth="130.0" promptText="Relation " />
<Button fx:id="addUnitButton" layoutX="4.0" layoutY="402.0" mnemonicParsing="false" onAction="#checkAndAdd" prefHeight="25.0" prefWidth="418.0" text="Add!" />
</children>
</Pane>