Ich möchte eine kleine Doku schreiben. In meinem Beispiel möchte ich im Prinzip einen String eingeben, der danach einen REST service aufruft....
[XML]<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<Group id="sb-clipboard" xmlns:fx="http://javafx.com/fxml">
<fx:define>
<SplitPane dividerPositions="0.5" focusTraversable="true" orientation="VERTICAL" prefHeight="200.0" prefWidth="320.0">
<items>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="100.0" prefWidth="160.0">
<children>
<Button id="buttonOk" layoutX="206.0" layoutY="55.0" onAction="#handleButtonAction" prefHeight="20.0" prefWidth="53.0" text="Ok" />
<TextField id="enterText" layoutY="33.0" prefWidth="200.0" text="Type in String" AnchorPane.leftAnchor="59.0" AnchorPane.rightAnchor="59.0" />
</children>
</AnchorPane>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="100.0" prefWidth="160.0">
<children>
<Label id="label" layoutX="23.0" layoutY="40.0" minHeight="16.0" minWidth="69.0" prefHeight="16.000099999997474" prefWidth="112.0" />
<TextArea id="textArea" prefHeight="66.0" prefWidth="200.0" wrapText="true" AnchorPane.bottomAnchor="15.0" AnchorPane.leftAnchor="59.0" AnchorPane.rightAnchor="59.0" AnchorPane.topAnchor="15.0" />
</children>
</AnchorPane>
</items>
</SplitPane>
</fx:define>
</Group>
[/XML]