mirror of
https://codeberg.org/qg-info-unterricht/zpg-graphentester.git
synced 2026-03-25 04:58:24 +01:00
86 lines
4.2 KiB
XML
86 lines
4.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import graph.GraphPlotter?>
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.ComboBox?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.control.Slider?>
|
|
<?import javafx.scene.image.Image?>
|
|
<?import javafx.scene.image.ImageView?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
<VBox xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
|
<children>
|
|
<HBox VBox.vgrow="ALWAYS">
|
|
<children>
|
|
<VBox prefHeight="200.0" prefWidth="100.0" />
|
|
<GraphPlotter fx:id="viewer" HBox.hgrow="ALWAYS" />
|
|
<VBox prefHeight="200.0" prefWidth="100.0" spacing="5.0">
|
|
<children>
|
|
<Label minWidth="-Infinity" text="Algorithmen">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Label>
|
|
<ComboBox fx:id="cbAlgorithmen" maxWidth="1.7976931348623157E308" minWidth="-Infinity" />
|
|
<Label text="Geschwindigkeit">
|
|
<VBox.margin>
|
|
<Insets top="5.0" />
|
|
</VBox.margin>
|
|
</Label>
|
|
<Slider fx:id="sSpeed" max="909.0" value="100.0" />
|
|
<HBox spacing="10.0">
|
|
<children>
|
|
<Button fx:id="bStep" minWidth="-Infinity" mnemonicParsing="false" onAction="#mStep" HBox.hgrow="ALWAYS">
|
|
<graphic>
|
|
<ImageView fitHeight="20.0" fitWidth="23.0" pickOnBounds="true" preserveRatio="true">
|
|
<image>
|
|
<Image url="@step.png" />
|
|
</image>
|
|
</ImageView>
|
|
</graphic></Button>
|
|
<Button fx:id="bStart" minWidth="-Infinity" mnemonicParsing="false" onAction="#mStart" HBox.hgrow="ALWAYS">
|
|
<HBox.margin>
|
|
<Insets />
|
|
</HBox.margin>
|
|
<graphic>
|
|
<ImageView fitHeight="20.0" fitWidth="26.0" pickOnBounds="true" preserveRatio="true">
|
|
<image>
|
|
<Image url="@run.png" />
|
|
</image>
|
|
</ImageView>
|
|
</graphic>
|
|
</Button>
|
|
<Button fx:id="bBreak" minWidth="-Infinity" mnemonicParsing="false" onAction="#mBreak" HBox.hgrow="ALWAYS">
|
|
<graphic>
|
|
<ImageView fitHeight="20.0" fitWidth="67.0" pickOnBounds="true" preserveRatio="true">
|
|
<image>
|
|
<Image url="@pause.png" />
|
|
</image>
|
|
</ImageView>
|
|
</graphic>
|
|
</Button>
|
|
<Button fx:id="bReset" minWidth="-Infinity" mnemonicParsing="false" onAction="#mReset" HBox.hgrow="ALWAYS">
|
|
<graphic>
|
|
<ImageView fitHeight="20.0" fitWidth="44.0" pickOnBounds="true" preserveRatio="true">
|
|
<image>
|
|
<Image url="@reset.png" />
|
|
</image>
|
|
</ImageView>
|
|
</graphic></Button>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets top="10.0" />
|
|
</VBox.margin>
|
|
</HBox>
|
|
</children>
|
|
<HBox.margin>
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
</HBox.margin></VBox>
|
|
</children>
|
|
</HBox>
|
|
</children>
|
|
</VBox>
|