43 lines
2.2 KiB
Plaintext
43 lines
2.2 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
||
|
<?import javafx.scene.text.*?>
|
||
|
<?import javafx.geometry.*?>
|
||
|
<?import java.lang.*?>
|
||
|
<?import java.util.*?>
|
||
|
<?import javafx.scene.*?>
|
||
|
<?import javafx.scene.control.*?>
|
||
|
<?import javafx.scene.layout.*?>
|
||
|
|
||
|
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="265.0" prefWidth="496.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="basenconverter.FXMLDocumentController">
|
||
|
<children>
|
||
|
<Label layoutX="184.0" layoutY="14.0" text="Zahlensystem Converter" />
|
||
|
<TextField fx:id="txtDez" layoutX="182.0" layoutY="60.0" prefWidth="300.0">
|
||
|
<opaqueInsets>
|
||
|
<Insets />
|
||
|
</opaqueInsets>
|
||
|
</TextField>
|
||
|
<TextField fx:id="txtHex" layoutX="182.0" layoutY="90.0" prefWidth="300.0">
|
||
|
<opaqueInsets>
|
||
|
<Insets />
|
||
|
</opaqueInsets>
|
||
|
</TextField>
|
||
|
<TextField fx:id="txtBin" layoutX="182.0" layoutY="120.0" prefWidth="300.0">
|
||
|
<opaqueInsets>
|
||
|
<Insets />
|
||
|
</opaqueInsets>
|
||
|
</TextField>
|
||
|
<Label layoutX="29.0" layoutY="64.0" text="Dezimal" />
|
||
|
<Label layoutX="29.0" layoutY="94.0" text="Hexadezimal" />
|
||
|
<Label layoutX="29.0" layoutY="124.0" text="Binär" />
|
||
|
<Button fx:id="btnConvert" layoutX="219.0" layoutY="168.0" mnemonicParsing="false" onAction="#handleConvert" text="Convert" />
|
||
|
<Label fx:id="lblFehler" alignment="CENTER" contentDisplay="CENTER" layoutX="15.0" layoutY="234.0" prefHeight="17.0" prefWidth="466.0" text="keine Fehler" textAlignment="CENTER" />
|
||
|
<RadioButton fx:id="rbtnDez" layoutX="29.0" layoutY="160.0" mnemonicParsing="false" onAction="#handlerbtnDez" text="Dez -> Hex/Bin">
|
||
|
<toggleGroup>
|
||
|
<ToggleGroup fx:id="fromTo" />
|
||
|
</toggleGroup>
|
||
|
</RadioButton>
|
||
|
<RadioButton fx:id="rbtnHex" layoutX="29.0" layoutY="185.0" mnemonicParsing="false" onAction="#handlerbtnHex" text="Hex -> Dez/Bin" toggleGroup="$fromTo" />
|
||
|
<RadioButton fx:id="rbtnBin" layoutX="29.0" layoutY="210.0" mnemonicParsing="false" onAction="#handlerbtnBin" text="Bin -> Dez/Hex" toggleGroup="$fromTo" />
|
||
|
</children>
|
||
|
</Pane>
|