mirror of
https://codeberg.org/qg-info-unterricht/zpg-graphentester.git
synced 2026-03-25 04:58:24 +01:00
105 lines
5.1 KiB
XML
105 lines
5.1 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.control.SplitPane?>
|
|
<?import javafx.scene.control.TreeView?>
|
|
<?import javafx.scene.image.Image?>
|
|
<?import javafx.scene.image.ImageView?>
|
|
<?import javafx.scene.layout.AnchorPane?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
<VBox xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1">
|
|
<children>
|
|
<SplitPane dividerPositions="0.8" VBox.vgrow="ALWAYS">
|
|
<items>
|
|
<GraphPlotter fx:id="viewer" prefHeight="1000.0" prefWidth="1358.0" />
|
|
<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>
|
|
<Label fx:id="lAblauf" text="Ablauf des Algorithmus" visible="false">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
<VBox.margin>
|
|
<Insets bottom="3.0" top="20.0" />
|
|
</VBox.margin>
|
|
</Label>
|
|
<TreeView fx:id="tvAblauf" prefHeight="200.0" prefWidth="200.0" visible="false" VBox.vgrow="ALWAYS" />
|
|
<AnchorPane>
|
|
<children>
|
|
<Button fx:id="bClipboard" mnemonicParsing="false" onAction="#bCopyClicked" text="In Zwischenablage kopieren" visible="false" AnchorPane.bottomAnchor="2.0" AnchorPane.rightAnchor="2.0" AnchorPane.topAnchor="2.0" />
|
|
</children>
|
|
</AnchorPane>
|
|
</children>
|
|
<padding>
|
|
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
|
|
</padding>
|
|
</VBox>
|
|
</items>
|
|
</SplitPane>
|
|
</children>
|
|
</VBox>
|