-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFile.fxml
More file actions
283 lines (279 loc) · 21.4 KB
/
Copy pathFile.fxml
File metadata and controls
283 lines (279 loc) · 21.4 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
<?xml version="1.0" encoding="UTF-8"?>
<?import wf.util.ComboBoxChLabels?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ButtonBar?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ProgressBar?>
<?import javafx.scene.control.Separator?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>
<AnchorPane fx:id="file_ap" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1" fx:controller="wf.view.FileController">
<children>
<VBox fx:id="file_vb" spacing="10.0" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="5.0">
<children>
<AnchorPane fx:id="top_ap">
<children>
<Label fx:id="title_lb" text="Label" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="5.0">
<padding>
<Insets left="10.0" />
</padding></Label>
</children>
</AnchorPane>
<Separator fx:id="north_sp" />
<HBox fx:id="file_hb">
<children>
<StackPane fx:id="fileTree_sp" />
<TabPane fx:id="file_tp" tabClosingPolicy="UNAVAILABLE">
<tabs>
<Tab fx:id="tabLoad_tp" text="Load">
<content>
<VBox fx:id="grid_container_vb">
<children>
<GridPane fx:id="grid1_gr" vgap="20.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="120.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="360.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label fx:id="fileType_lb" text="Label" GridPane.rowIndex="1" />
<Label fx:id="fileName_lb" text="Label" GridPane.rowIndex="2" />
<ComboBox fx:id="fileType_cb" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Label fx:id="dirName_lb" text="Label" />
<Label fx:id="dirFullName_lb" text="Label" GridPane.columnIndex="1" />
<TextField fx:id="fileName_tf" GridPane.columnIndex="1" GridPane.rowIndex="2" />
</children>
<VBox.margin>
<Insets bottom="10.0" left="5.0" top="5.0" />
</VBox.margin>
</GridPane>
<GridPane fx:id="grid2_gr" vgap="20.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="120.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="360.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label fx:id="mask_lb" text="Label" />
<Label fx:id="fileStartNum_lb" text="Label" GridPane.rowIndex="1" />
<Label fx:id="fileNum_lb" text="Label" GridPane.rowIndex="2" />
<Label fx:id="header_lb" text="Label" GridPane.rowIndex="3" />
<TextField fx:id="mask_tf" prefWidth="100.0" GridPane.columnIndex="1" />
<TextField fx:id="fileStartNum_tf" prefWidth="100.0" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<TextField fx:id="fileNum_tf" prefWidth="100.0" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<TextField fx:id="header_tf" prefWidth="100.0" GridPane.columnIndex="1" GridPane.rowIndex="3" />
</children>
<VBox.margin>
<Insets bottom="10.0" left="5.0" top="5.0" />
</VBox.margin>
</GridPane>
<GridPane fx:id="grid3_gr" vgap="20.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="120.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="120.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="10.0" prefWidth="120.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="10.0" prefWidth="120.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<CheckBox fx:id="ch1_cb" mnemonicParsing="false" text="CheckBox" GridPane.valignment="TOP" />
<CheckBox fx:id="ch2_cb" mnemonicParsing="false" text="CheckBox" GridPane.columnIndex="2" />
<CheckBox fx:id="ch3_cb" mnemonicParsing="false" text="CheckBox" GridPane.rowIndex="1" />
<CheckBox fx:id="ch4_cb" mnemonicParsing="false" text="CheckBox" GridPane.columnIndex="2" GridPane.rowIndex="1" />
<ComboBoxChLabels fx:id="ch1_cmb" prefWidth="100.0" GridPane.columnIndex="1" />
<ComboBoxChLabels fx:id="ch2_cmb" prefWidth="100.0" GridPane.columnIndex="3" />
<ComboBoxChLabels fx:id="ch3_cmb" prefWidth="100.0" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<ComboBoxChLabels fx:id="ch4_cmb" prefWidth="100.0" GridPane.columnIndex="3" GridPane.rowIndex="1" />
</children>
<VBox.margin>
<Insets bottom="10.0" left="5.0" top="5.0" />
</VBox.margin>
</GridPane>
<GridPane fx:id="grid4_gr">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="120.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="360.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label fx:id="progressBar_lb" text="Label" GridPane.rowIndex="1" />
<ProgressBar fx:id="progressBar_pb" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Label fx:id="loadingStatus_lb" text="Label" />
<Label fx:id="loadingStatusProgress_lb" text="Label" GridPane.columnIndex="1" />
</children>
<VBox.margin>
<Insets bottom="10.0" left="5.0" top="5.0" />
</VBox.margin>
</GridPane>
</children>
</VBox>
</content>
</Tab>
<Tab fx:id="tabMerge_tp" text="Merge">
<content>
<VBox fx:id="tab2_grid_container_vb">
<children>
<GridPane fx:id="tab2_grid1_gr" vgap="20.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="120.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="360.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label fx:id="tab2_fileType_lb" text="File Type" GridPane.rowIndex="1" />
<Label fx:id="tab2_fileNameCh1_lb" text="File Name Ch1" GridPane.rowIndex="2" />
<ComboBox fx:id="tab2_fileType_cb" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Label fx:id="tab2_dirName_lb" text="Directory" />
<Label fx:id="tab2_dirFullName_lb" text="Label" GridPane.columnIndex="1" />
<TextField fx:id="tab2_fileNameCh1_tf" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Label fx:id="tab2_fileNameCh2_lb" text="File Name Ch2" GridPane.rowIndex="3" />
<Label fx:id="tab2_fileNameCh3_lb" text="File Name Ch3" GridPane.rowIndex="4" />
<Label fx:id="tab2_fileNameCh4_lb" text="File Name Ch4" GridPane.rowIndex="5" />
<TextField fx:id="tab2_fileNameCh2_tf" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<TextField fx:id="tab2_fileNameCh3_tf" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<TextField fx:id="tab2_fileNameCh4_tf" GridPane.columnIndex="1" GridPane.rowIndex="5" />
</children>
<VBox.margin>
<Insets bottom="10.0" left="5.0" top="5.0" />
</VBox.margin>
</GridPane>
<GridPane fx:id="tab2_grid2_gr" vgap="20.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="120.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="10.0" prefWidth="120.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="10.0" prefWidth="120.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="120.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label fx:id="tab2_mask_lb" text="Mask" />
<Label fx:id="tab2_fileStartNum_lb" text="First File" GridPane.rowIndex="1" />
<Label fx:id="tab2_fileNum_lb" text="Files" GridPane.columnIndex="2" GridPane.rowIndex="1">
<GridPane.margin>
<Insets left="10.0" />
</GridPane.margin></Label>
<Label fx:id="tab2_header_lb" text="Header Lines" GridPane.rowIndex="2" />
<TextField fx:id="tab2_mask_tf" prefWidth="100.0" GridPane.columnIndex="1" />
<TextField fx:id="tab2_fileStartNum_tf" prefWidth="100.0" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<TextField fx:id="tab2_fileNum_tf" prefWidth="100.0" GridPane.columnIndex="3" GridPane.rowIndex="1" />
<TextField fx:id="tab2_header_tf" prefWidth="100.0" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Label fx:id="tab2_tail_lb" text="Tail Lines" GridPane.columnIndex="2" GridPane.rowIndex="2">
<GridPane.margin>
<Insets left="10.0" />
</GridPane.margin></Label>
<TextField fx:id="tab2_tail_tf" GridPane.columnIndex="3" GridPane.rowIndex="2" />
<Label fx:id="tab2_invertCh_lb" text="Invert Ch [1-4]" GridPane.columnIndex="2">
<GridPane.margin>
<Insets left="10.0" />
</GridPane.margin>
</Label>
<GridPane GridPane.columnIndex="3">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<CheckBox fx:id="tab2_invertCh1_cb" mnemonicParsing="false" />
<CheckBox fx:id="tab2_invertCh2_cb" mnemonicParsing="false" GridPane.columnIndex="1" />
<CheckBox fx:id="tab2_invertCh3_cb" mnemonicParsing="false" GridPane.columnIndex="2" />
<CheckBox fx:id="tab2_invertCh4_cb" mnemonicParsing="false" GridPane.columnIndex="3" />
</children>
</GridPane>
</children>
<VBox.margin>
<Insets bottom="10.0" left="5.0" top="5.0" />
</VBox.margin>
</GridPane>
<GridPane fx:id="tab2_grid4_gr">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="120.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="360.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label fx:id="tab2_progressBar_lb" text="File Processed" GridPane.rowIndex="1" />
<ProgressBar fx:id="tab2_progressBar_pb" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Label fx:id="tab2_mergingStatus_lb" text="Dataset" />
<Label fx:id="tab2_mergingStatusProgress_lb" text="Label" GridPane.columnIndex="1" />
</children>
<VBox.margin>
<Insets bottom="10.0" left="5.0" top="5.0" />
</VBox.margin>
</GridPane>
</children>
</VBox>
</content>
</Tab>
</tabs>
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</TabPane>
</children>
<VBox.margin>
<Insets />
</VBox.margin>
</HBox>
<Separator fx:id="south_sp" />
<AnchorPane fx:id="bottom_ap" nodeOrientation="LEFT_TO_RIGHT">
<children>
<ButtonBar fx:id="bar_bb" nodeOrientation="LEFT_TO_RIGHT" AnchorPane.rightAnchor="0.0">
<buttons>
<Button fx:id="load_bt" mnemonicParsing="false" onAction="#importAction" prefWidth="140.0" text="Button" />
<Button fx:id="exit_bt" mnemonicParsing="false" onAction="#exitAction" prefWidth="140.0" text="Button" />
</buttons>
<padding>
<Insets right="10.0" />
</padding>
</ButtonBar>
</children>
</AnchorPane>
</children>
</VBox>
</children>
</AnchorPane>