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

26 lines
1.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.shape.*?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="animatedball1.layoutController">
<bottom>
<HBox alignment="CENTER" prefHeight="48.0" prefWidth="600.0" BorderPane.alignment="CENTER">
<children>
<Button fx:id="btnButton" mnemonicParsing="false" onAction="#handleButton" text="Button" />
</children>
</HBox>
</bottom>
<center>
<Pane fx:id="canvas" prefHeight="337.0" prefWidth="600.0" BorderPane.alignment="CENTER">
<children>
<Circle fx:id="circle" fill="#3cd063" layoutX="-50.0" radius="50.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="5.0" />
</children>
</Pane>
</center>
</BorderPane>