-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDriveStatMainControllerFXML_06032019.xml
More file actions
115 lines (113 loc) · 6.98 KB
/
DriveStatMainControllerFXML_06032019.xml
File metadata and controls
115 lines (113 loc) · 6.98 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.shape.Circle?>
<BorderPane fx:id="borderPane" prefHeight="800.0" prefWidth="1400.0" xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.gsi.csco.ap.app_drivestat.main.DriveStatMainController">
<center>
<GridPane alignment="CENTER" vgap="10.0" BorderPane.alignment="CENTER">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="1100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="40.0" prefHeight="40.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="701.0" minHeight="10.0" prefHeight="701.0" valignment="TOP" vgrow="SOMETIMES" />
<RowConstraints maxHeight="40.0" minHeight="40.0" prefHeight="40.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<TableView fx:id="driveTable" prefHeight="680.0" prefWidth="1160.0" GridPane.rowIndex="1">
<columns>
<TableColumn fx:id="deviceName_col" prefWidth="100.0" />
<TableColumn fx:id="deviceNameDescr_col" prefWidth="100.0" />
<TableColumn fx:id="typeName_col" prefWidth="100.0" sortable="false" />
<TableColumn fx:id="min_Pos_ds_col" prefWidth="100.0" sortable="false" />
<TableColumn fx:id="abs_Posi_ds_col" prefWidth="75.0" />
<TableColumn fx:id="max_Pos_ds_col" prefWidth="100.0" sortable="false" />
<TableColumn fx:id="abs_Posi_pla_col" prefWidth="100.0" sortable="false" />
<TableColumn fx:id="extra_col1" prefWidth="100.0" sortable="false" />
<TableColumn fx:id="extra_col2" prefWidth="100.0" sortable="false" />
</columns>
<columnResizePolicy>
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
</columnResizePolicy>
</TableView>
<GridPane prefHeight="30.0" prefWidth="1169.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="60.0" minWidth="60.0" prefWidth="60.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="416.0" minWidth="416.0" prefWidth="416.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="60.0" minWidth="60.0" prefWidth="60.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="416.0" minWidth="10.0" prefWidth="416.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="240.0" minWidth="10.0" prefWidth="120.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label text="Pattern" GridPane.halignment="LEFT" />
<Label text="Chain" GridPane.columnIndex="2" GridPane.halignment="CENTER" />
<ComboBox fx:id="patterns_cb" prefHeight="26.0" prefWidth="360.0" GridPane.columnIndex="1" GridPane.halignment="LEFT" />
<ComboBox fx:id="chains_cb" prefHeight="26.0" prefWidth="360.0" GridPane.columnIndex="3" GridPane.halignment="LEFT" />
<CheckBox fx:id="updateDrives_cb" mnemonicParsing="false" text="Update Drives" GridPane.columnIndex="4" GridPane.halignment="RIGHT" />
</children>
<GridPane.margin>
<Insets bottom="5.0" top="5.0" />
</GridPane.margin>
</GridPane>
<Label fx:id="status_lb" text="Label" GridPane.rowIndex="2" />
<VBox alignment="TOP_CENTER" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
<children>
<Button fx:id="refresh_bt" mnemonicParsing="false" onAction="#handleRefresh" prefHeight="40.0" prefWidth="130.0" text="Update Patterns">
<VBox.margin>
<Insets bottom="20.0" />
</VBox.margin>
</Button>
<Button fx:id="save_bt" alignment="CENTER" mnemonicParsing="false" onAction="#handleManualSaving" prefHeight="40.0" prefWidth="130.0" text="Save [Manual]">
<VBox.margin>
<Insets bottom="20.0" />
</VBox.margin>
</Button>
<Button fx:id="settings_bt" alignment="CENTER" mnemonicParsing="false" onAction="#handleSettings" prefHeight="40.0" prefWidth="130.0" text="Save [Auto]">
<VBox.margin>
<Insets bottom="20.0" />
</VBox.margin>
</Button>
<Button fx:id="print_bt" alignment="CENTER" mnemonicParsing="false" onAction="#handlePrint" prefHeight="40.0" prefWidth="130.0" text="Print Data">
<VBox.margin>
<Insets bottom="20.0" />
</VBox.margin>
</Button>
<Button fx:id="status_bt" mnemonicParsing="false" onAction="#handleDevicesStatus" prefHeight="40.0" prefWidth="130.0" text="Devices Status">
<VBox.margin>
<Insets bottom="20.0" />
</VBox.margin>
</Button>
<Button fx:id="about_bt" alignment="CENTER" mnemonicParsing="false" onAction="#handleAbout" prefHeight="40.0" prefWidth="130.0" text="About">
<VBox.margin>
<Insets bottom="20.0" />
</VBox.margin>
</Button>
<Button fx:id="exit_bt" alignment="CENTER" mnemonicParsing="false" onAction="#handleExit" prefHeight="40.0" prefWidth="130.0" text="Exit">
<VBox.margin>
<Insets bottom="20.0" />
</VBox.margin>
</Button>
</children>
</VBox>
<Circle fx:id="dataSavingLed" fill="#ebe7e7" radius="8.0" stroke="BLACK" strokeLineCap="ROUND" strokeType="INSIDE" strokeWidth="0.2" GridPane.halignment="RIGHT" GridPane.rowIndex="2" />
</children>
<BorderPane.margin>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</BorderPane.margin>
</GridPane>
</center>
</BorderPane>