JMUploadClient/src/main/resources/main.fxml
2020-09-27 18:18:10 +02:00

30 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<GridPane alignment="center" hgap="10" vgap="10" xmlns="http://javafx.com/javafx/10.0.2-internal" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ley.jmclient.Controller">
<columnConstraints>
<ColumnConstraints />
</columnConstraints>
<rowConstraints>
<RowConstraints />
</rowConstraints>
<children>
<Pane prefHeight="230.0" prefWidth="556.0">
<children>
<ChoiceBox fx:id="boxCat" layoutX="113.0" layoutY="48.0" prefHeight="25.0" prefWidth="344.0" />
<Label fx:id="lblCat" layoutX="52.0" layoutY="52.0" text="Category:" />
<Label fx:id="lblTok" layoutX="68.0" layoutY="99.0" text="Token:" />
<TextField fx:id="txTok" layoutX="114.0" layoutY="95.0" prefHeight="25.0" prefWidth="344.0" />
<Button fx:id="btnSave" layoutX="469.0" layoutY="95.0" mnemonicParsing="false" onAction="#saveToken" prefHeight="25.0" prefWidth="53.0" text="Save" />
<Button fx:id="btnReload" layoutX="469.0" layoutY="48.0" mnemonicParsing="false" onAction="#reload" text="Reload" />
<Label fx:id="lblFile" layoutX="75.0" layoutY="143.0" text="File:" />
<Button fx:id="btnFile" layoutX="113.0" layoutY="139.0" mnemonicParsing="false" onAction="#chooseFile" text="Choose" />
<Label fx:id="lblSel" layoutX="184.0" layoutY="143.0" prefHeight="17.0" prefWidth="273.0" text="no file selected" />
<Button fx:id="btnUpload" layoutX="468.0" layoutY="139.0" mnemonicParsing="false" onAction="#upload" text="Upload" />
</children>
</Pane>
</children>
</GridPane>