Skip to content

Commit

Permalink
Update samples and message tool
Browse files Browse the repository at this point in the history
  • Loading branch information
VolkerVoss committed Aug 13, 2024
1 parent 50ecadb commit 503b9a0
Show file tree
Hide file tree
Showing 13 changed files with 816 additions and 44 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Separator?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>

<GridPane hgap="5.0" xmlns="http://javafx.com/javafx/22.0.2" xmlns:fx="http://javafx.com/fxml/1">
<columnConstraints>
<ColumnConstraints minWidth="10.0" />
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="10.0" />
<ColumnConstraints halignment="CENTER" maxWidth="1.7976931348623157E308" minWidth="10.0" prefWidth="30.0" />
<ColumnConstraints halignment="CENTER" hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="10.0" prefWidth="100.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label text="Recipient:" />
<Label text="CmdID:" GridPane.rowIndex="2" />
<Label text="CmdType:" GridPane.rowIndex="3" />
<Label text="Additional parameter 1:" GridPane.rowIndex="4" />
<TextField fx:id="contactIdTextField" GridPane.columnIndex="1" />
<TextField fx:id="latitudeTextField" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Separator prefWidth="200.0" GridPane.columnSpan="2147483647" GridPane.rowIndex="1" />
<ComboBox fx:id="sourceComboBox" prefWidth="150.0" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<TextField fx:id="commentTextField" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="2">
<image>
<Image url="@../mandatory.png" />
</image>
</ImageView>
<ImageView fitHeight="16.0" fitWidth="16.0" layoutX="276.0" layoutY="88.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="2" GridPane.rowIndex="3">
<image>
<Image url="@../mandatory.png" />
</image>
</ImageView>
<Label fx:id="contactIdLabel" text="invalid" GridPane.columnIndex="3">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="latitudeLabel" layoutX="321.0" layoutY="47.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="2">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label layoutX="10.0" layoutY="118.0" text="Additional parameter 2:" GridPane.rowIndex="5" />
<Label layoutX="10.0" layoutY="148.0" text="Additional parameter 3:" GridPane.rowIndex="6" />
<Label layoutX="10.0" layoutY="179.0" text="Additional parameter 4:" GridPane.rowIndex="7" />
<Label layoutX="10.0" layoutY="209.0" text="Additional parameter 5:" GridPane.rowIndex="8" />
</children>
</GridPane>
Original file line number Diff line number Diff line change
@@ -0,0 +1,280 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Separator?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.RowConstraints?>

<GridPane hgap="5.0" xmlns="http://javafx.com/javafx/22.0.2" xmlns:fx="http://javafx.com/fxml/1">
<columnConstraints>
<ColumnConstraints minWidth="10.0" />
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="10.0" />
<ColumnConstraints halignment="CENTER" maxWidth="1.7976931348623157E308" minWidth="10.0" prefWidth="30.0" />
<ColumnConstraints halignment="CENTER" hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="10.0" prefWidth="100.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints fillHeight="false" minHeight="10.0" prefHeight="30.0" valignment="CENTER" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label text="ContactID:" />
<Label text="DeleteFlag:" GridPane.rowIndex="1" />
<Label text="Latitude:" GridPane.rowIndex="3" />
<Label text="Longitude:" GridPane.rowIndex="4" />
<Label text="Altitude:" GridPane.rowIndex="5" />
<Label text="Relatve X-distance:" GridPane.rowIndex="7" />
<Label text="Relatve Y-distance:" GridPane.rowIndex="8" />
<Label text="Relatve Z-distance:" GridPane.rowIndex="9" />
<Label text="Speed over ground:" GridPane.rowIndex="11" />
<Label text="Course over ground:" GridPane.rowIndex="12" />
<Label text="Heading:" GridPane.rowIndex="14" />
<Label text="Roll:" GridPane.rowIndex="15" />
<Label text="Pitch:" GridPane.rowIndex="16" />
<Label text="Width:" GridPane.rowIndex="18" />
<Label text="Length:" GridPane.rowIndex="19" />
<Label text="Height:" GridPane.rowIndex="20" />
<Label text="Name:" GridPane.rowIndex="22" />
<Label text="Source:" GridPane.rowIndex="23" />
<Label text="SIDC:" GridPane.rowIndex="24" />
<Label text="MMSI:" GridPane.rowIndex="25" />
<Label text="ICAO:" GridPane.rowIndex="26" />
<Label text="Image:" GridPane.rowIndex="27" />
<Label text="Comment:" GridPane.rowIndex="28" />
<TextField fx:id="contactIdTextField" GridPane.columnIndex="1" />
<ComboBox fx:id="deleteFlagComboBox" prefWidth="150.0" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<TextField fx:id="latitudeTextField" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<TextField fx:id="longitudeTextField" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<TextField fx:id="altitudeTextField" GridPane.columnIndex="1" GridPane.rowIndex="5" />
<TextField fx:id="relatveXdistanceTextField" GridPane.columnIndex="1" GridPane.rowIndex="7" />
<TextField fx:id="relatveYdistanceTextField" GridPane.columnIndex="1" GridPane.rowIndex="8" />
<TextField fx:id="relatveZdistanceTextField" GridPane.columnIndex="1" GridPane.rowIndex="9" />
<TextField fx:id="speedTextField" GridPane.columnIndex="1" GridPane.rowIndex="11" />
<TextField fx:id="courseTextField" GridPane.columnIndex="1" GridPane.rowIndex="12" />
<TextField fx:id="headingTextField" GridPane.columnIndex="1" GridPane.rowIndex="14" />
<TextField fx:id="rollTextField" GridPane.columnIndex="1" GridPane.rowIndex="15" />
<TextField fx:id="pitchTextField" GridPane.columnIndex="1" GridPane.rowIndex="16" />
<Separator prefWidth="200.0" GridPane.columnSpan="2147483647" GridPane.rowIndex="2" />
<Separator prefWidth="200.0" GridPane.columnSpan="2147483647" GridPane.rowIndex="6" />
<Separator prefWidth="200.0" GridPane.columnSpan="2147483647" GridPane.rowIndex="17" />
<Separator prefWidth="200.0" GridPane.columnSpan="2147483647" GridPane.rowIndex="10" />
<Separator prefWidth="200.0" GridPane.columnSpan="2147483647" GridPane.rowIndex="13" />
<Separator prefWidth="200.0" GridPane.columnSpan="2147483647" GridPane.rowIndex="21" />
<TextField fx:id="widthTextField" GridPane.columnIndex="1" GridPane.rowIndex="18" />
<TextField fx:id="lengthTextField" GridPane.columnIndex="1" GridPane.rowIndex="19" />
<TextField fx:id="heightTextField" GridPane.columnIndex="1" GridPane.rowIndex="20" />
<TextField fx:id="nameTextField" GridPane.columnIndex="1" GridPane.rowIndex="22" />
<ComboBox fx:id="sourceComboBox" prefWidth="150.0" GridPane.columnIndex="1" GridPane.rowIndex="23" />
<ComboBox fx:id="sidcComboBox" prefWidth="150.0" GridPane.columnIndex="1" GridPane.rowIndex="24" />
<TextField fx:id="mmsiTextField" GridPane.columnIndex="1" GridPane.rowIndex="25" />
<TextField fx:id="icaoTextField" GridPane.columnIndex="1" GridPane.rowIndex="26" />
<HBox fillHeight="false" GridPane.columnIndex="1" GridPane.rowIndex="27" GridPane.valignment="CENTER">
<children>
<Button mnemonicParsing="false" onAction="#loadImage" text="Load image" />
<ImageView fx:id="imageImageView" fitHeight="24.0" fitWidth="24.0" pickOnBounds="true" preserveRatio="true" />
</children>
</HBox>
<TextField fx:id="commentTextField" GridPane.columnIndex="1" GridPane.rowIndex="28" />
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="2">
<image>
<Image url="@../mandatory.png" />
</image>
</ImageView>
<ImageView fitHeight="16.0" fitWidth="16.0" layoutX="276.0" layoutY="17.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="2" GridPane.rowIndex="3">
<image>
<Image url="@../mandatory.png" />
</image>
</ImageView>
<ImageView fitHeight="16.0" fitWidth="16.0" layoutX="276.0" layoutY="88.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="2" GridPane.rowIndex="4">
<image>
<Image url="@../mandatory.png" />
</image>
</ImageView>
<Label fx:id="contactIdLabel" text="invalid" GridPane.columnIndex="3">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="latitudeLabel" layoutX="321.0" layoutY="47.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="3">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="longitudeLabel" layoutX="321.0" layoutY="88.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="4">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="altitudeLabel" layoutX="321.0" layoutY="118.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="5">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="relatveXdistanceLabel" layoutX="321.0" layoutY="148.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="7">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="relatveYdistanceLabel" layoutX="321.0" layoutY="189.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="8">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="relatveZdistanceLabel" layoutX="321.0" layoutY="219.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="9">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="speedLabel" layoutX="321.0" layoutY="249.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="11">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="courseLabel" layoutX="321.0" layoutY="289.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="12">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="headingLabel" layoutX="321.0" layoutY="320.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="14">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="rollLabel" layoutX="321.0" layoutY="360.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="15">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="heightLabel" layoutX="321.0" layoutY="391.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="20">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="lengthLabel" layoutX="321.0" layoutY="391.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="19">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="widthLabel" layoutX="321.0" layoutY="391.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="18">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="pitchLabel" layoutX="321.0" layoutY="391.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="16">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="heightLabel1" layoutX="321.0" layoutY="522.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="25">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
<Label fx:id="heightLabel11" layoutX="321.0" layoutY="654.0" text="invalid" GridPane.columnIndex="3" GridPane.rowIndex="26">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../invalid.png" />
</image>
</ImageView>
</graphic>
</Label>
</children>
</GridPane>
Loading

0 comments on commit 503b9a0

Please # to comment.