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

49 lines
2.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.*?>
<?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" onKeyPressed="#handleKey" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="mycookieclicker.FXMLDocumentController">
<center>
<Pane prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER">
<children>
<Button fx:id="btnClick" layoutX="101.0" layoutY="172.0" mnemonicParsing="false" onAction="#handleClick" prefHeight="57.0" prefWidth="98.0" text="Click Me" />
</children>
</Pane>
</center>
<left>
<VBox alignment="CENTER" prefHeight="400.0" prefWidth="150.0" BorderPane.alignment="CENTER">
<children>
<Separator prefWidth="200.0" />
<Button fx:id="btnBuyGrandma" mnemonicParsing="false" onAction="#handleBuyGrandma" text="Buy Grandma">
<VBox.margin>
<Insets />
</VBox.margin>
</Button>
<Label text="+0,3" />
<Separator prefWidth="200.0" />
<Button fx:id="btnBuyAutoclick" mnemonicParsing="false" onAction="#handleBuyAutoclick" text="Buy Autoclicker" />
<Label text="+1" />
<Separator prefWidth="200.0" />
</children>
</VBox>
</left>
<right>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="150.0" BorderPane.alignment="CENTER">
<children>
<Separator prefWidth="200.0" />
<Label text="Kontostand:" />
<Label fx:id="lblKontostand" text="0" />
<Separator prefWidth="200.0" />
<Label text="Earn per Sec:" />
<Label fx:id="lblEarn" text="0" />
<Separator prefWidth="200.0" />
</children>
</VBox>
</right>
</BorderPane>