java-fx-samples/build/classes/changescene1/FXMLDocument.fxml
2019-08-09 05:22:38 +02:00

40 lines
2.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.shape.*?>
<?import javafx.scene.chart.*?>
<?import javafx.scene.effect.*?>
<?import javafx.geometry.*?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<BorderPane prefHeight="200.0" prefWidth="239.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="changescene1.FXMLDocumentController">
<center>
<Pane fx:id="pane" prefHeight="142.0" prefWidth="200.0" BorderPane.alignment="CENTER">
<children>
<CheckBox fx:id="box1" layoutX="14.0" layoutY="14.0" mnemonicParsing="false" text="CheckBox" />
<CheckBox layoutX="14.0" layoutY="31.0" mnemonicParsing="false" text="CheckBox" />
<CheckBox layoutX="14.0" layoutY="48.0" mnemonicParsing="false" text="CheckBox" />
<CheckBox layoutX="113.0" layoutY="14.0" mnemonicParsing="false" text="CheckBox" />
<CheckBox layoutX="113.0" layoutY="48.0" mnemonicParsing="false" text="CheckBox" />
<CheckBox layoutX="113.0" layoutY="31.0" mnemonicParsing="false" text="CheckBox" />
<TextField fx:id="textC" alignment="CENTER" editable="false" layoutX="26.0" layoutY="73.0" text="Hello World" />
</children>
</Pane>
</center>
<bottom>
<HBox prefHeight="29.0" prefWidth="200.0" BorderPane.alignment="CENTER">
<children>
<Button fx:id="button1" mnemonicParsing="false" onAction="#activate" prefHeight="25.0" prefWidth="59.0" text="Activate" />
<Button fx:id="button2" mnemonicParsing="false" onAction="#deactivate" prefHeight="25.0" prefWidth="72.0" text="Deactivate" />
<Button fx:id="btnChangeScene" mnemonicParsing="false" onAction="#handleChangeScene" text="Change Scene" />
</children>
<BorderPane.margin>
<Insets left="10.0" />
</BorderPane.margin>
</HBox>
</bottom>
</BorderPane>