You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

130 lines
2.7 KiB

<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import java.net.*?>
<?import javafx.geometry.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>
<GridPane fx:controller="app.Controller"
xmlns:fx="http://javafx.com/fxml" alignment="center" hgap="10" vgap="10">
<padding>
<Insets top="25" right="25" bottom="10" left="25"/>
</padding>
<Text
text="Task"
GridPane.rowIndex="0"
GridPane.columnIndex="0"
/>
<Text
text="State"
GridPane.rowIndex="0"
GridPane.columnIndex="1"
/>
<Text
text="Loading Directory."
GridPane.rowIndex="1"
GridPane.columnIndex="0"
/>
<Text fx:id="loadDirState"
text=""
GridPane.rowIndex="1"
GridPane.columnIndex="1"
/>
<Text
text="Calculating Md5."
GridPane.rowIndex="2"
GridPane.columnIndex="0"
/>
<Text fx:id="calcMd5State"
text=""
GridPane.rowIndex="2"
GridPane.columnIndex="1"
/>
<Text
text="Sorting Files."
GridPane.rowIndex="3"
GridPane.columnIndex="0"
/>
<Text fx:id="sortFileState"
text=""
GridPane.rowIndex="3"
GridPane.columnIndex="1"
/>
<Text
text="Finding Doubles."
GridPane.rowIndex="4"
GridPane.columnIndex="0"
/>
<Text fx:id="findDoubleState"
text=""
GridPane.rowIndex="4"
GridPane.columnIndex="1"
/>
<Text
text="Deleting Doubles."
GridPane.rowIndex="5"
GridPane.columnIndex="0"
/>
<Text fx:id="delDoubleState"
text=""
GridPane.rowIndex="5"
GridPane.columnIndex="1"
/>
<TextField fx:id="dir"
text="Select Directory."
GridPane.rowIndex="6"
GridPane.columnIndex="0"
/>
<Button text="Load"
GridPane.rowIndex="6"
GridPane.columnIndex="1"
onAction="#loadDir"/>
<Text fx:id="fileNr"
text="Number of Files:"
GridPane.rowIndex="7"
GridPane.columnIndex="0"
/>
<Text fx:id="doubleNr"
text="Number of Doubles:"
GridPane.rowIndex="8"
GridPane.columnIndex="0"
/>
<Button text="Delete"
GridPane.rowIndex="8"
GridPane.columnIndex="1"
onAction="#deleteDoubles"/>
</GridPane>