mirror of
https://codeberg.org/qg-info-unterricht/zpg-graphentester.git
synced 2026-03-24 20:48:26 +01:00
121 lines
5.9 KiB
XML
121 lines
5.9 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.CheckBox?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.control.RadioButton?>
|
|
<?import javafx.scene.control.Slider?>
|
|
<?import javafx.scene.control.ToggleGroup?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
|
<children>
|
|
<HBox prefHeight="100.0" prefWidth="200.0" VBox.vgrow="ALWAYS">
|
|
<children>
|
|
<VBox prefHeight="200.0" prefWidth="100.0" />
|
|
<GraphPlotter fx:id="viewer" onMousePressed="#graphClicked" HBox.hgrow="ALWAYS" />
|
|
<VBox minHeight="-Infinity" minWidth="-Infinity">
|
|
<children>
|
|
<Label alignment="BOTTOM_LEFT" minHeight="-Infinity" minWidth="-Infinity" text="Kanten">
|
|
<padding>
|
|
<Insets bottom="5.0" top="5.0" />
|
|
</padding>
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Label>
|
|
<CheckBox fx:id="cbGerichtet" minWidth="-Infinity" mnemonicParsing="false" text="gerichtet" />
|
|
<CheckBox fx:id="cbGewichtet" minWidth="-Infinity" mnemonicParsing="false" text="gewichtet" />
|
|
<Button mnemonicParsing="false" onAction="#bDistanzenBestimmen" text="Distanzen bestimmen">
|
|
<VBox.margin>
|
|
<Insets top="5.0" />
|
|
</VBox.margin>
|
|
</Button>
|
|
<Label alignment="BOTTOM_LEFT" layoutX="10.0" layoutY="10.0" text="Knoten">
|
|
<padding>
|
|
<Insets bottom="5.0" top="10.0" />
|
|
</padding>
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Label>
|
|
<RadioButton fx:id="rLeer" mnemonicParsing="false" selected="true" text="leer">
|
|
<toggleGroup>
|
|
<ToggleGroup fx:id="tgKnoten" />
|
|
</toggleGroup>
|
|
</RadioButton>
|
|
<RadioButton fx:id="rNummer" mnemonicParsing="false" text="Nummer" toggleGroup="$tgKnoten" />
|
|
<RadioButton fx:id="rWert" mnemonicParsing="false" text="Wert" toggleGroup="$tgKnoten" />
|
|
<CheckBox fx:id="cbInfotext" mnemonicParsing="false" text="Infotext">
|
|
<VBox.margin>
|
|
<Insets bottom="5.0" top="9.0" />
|
|
</VBox.margin>
|
|
</CheckBox>
|
|
<Label text="Größe">
|
|
<VBox.margin>
|
|
<Insets top="5.0" />
|
|
</VBox.margin>
|
|
</Label>
|
|
<Slider fx:id="sGroesse" max="60.0" min="2.0" value="20.0">
|
|
<VBox.margin>
|
|
<Insets />
|
|
</VBox.margin>
|
|
</Slider>
|
|
<Label alignment="BOTTOM_LEFT" layoutX="20.0" layoutY="76.0" text="Bild">
|
|
<padding>
|
|
<Insets bottom="5.0" top="10.0" />
|
|
</padding>
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Label>
|
|
<Label fx:id="lBildname" minHeight="-Infinity" minWidth="-Infinity" text="kein Bild" />
|
|
<Button maxWidth="1.7976931348623157E308" minWidth="-Infinity" mnemonicParsing="false" onAction="#bBildLaden" text="Bild laden">
|
|
<VBox.margin>
|
|
<Insets top="5.0" />
|
|
</VBox.margin>
|
|
</Button>
|
|
<Button layoutX="20.0" layoutY="174.0" maxWidth="1.7976931348623157E308" minWidth="-Infinity" mnemonicParsing="false" onAction="#bBildLoeschen" text="Bild löschen">
|
|
<VBox.margin>
|
|
<Insets top="5.0" />
|
|
</VBox.margin>
|
|
</Button>
|
|
</children>
|
|
<opaqueInsets>
|
|
<Insets />
|
|
</opaqueInsets>
|
|
<padding>
|
|
<Insets bottom="5.0" left="10.0" right="10.0" top="5.0" />
|
|
</padding></VBox>
|
|
</children>
|
|
</HBox>
|
|
<HBox spacing="10.0" VBox.vgrow="NEVER">
|
|
<children>
|
|
<Label alignment="BOTTOM_LEFT" text="Speichere als ">
|
|
<padding>
|
|
<Insets top="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<RadioButton fx:id="rbMatrix" mnemonicParsing="false" selected="true" text="als Matrix">
|
|
<padding>
|
|
<Insets top="5.0" />
|
|
</padding>
|
|
<toggleGroup>
|
|
<ToggleGroup fx:id="tgMatrixListe" />
|
|
</toggleGroup>
|
|
</RadioButton>
|
|
<RadioButton fx:id="rbListe" mnemonicParsing="false" text="als Adjazenzliste" toggleGroup="$tgMatrixListe">
|
|
<padding>
|
|
<Insets top="5.0" />
|
|
</padding></RadioButton>
|
|
</children>
|
|
<padding>
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
</padding>
|
|
</HBox>
|
|
</children>
|
|
</VBox>
|