|
|
|
@ -1,49 +1,64 @@
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
|
|
<?import javafx.scene.control.Label?>
|
|
|
|
<?import javafx.scene.control.Label?>
|
|
|
|
<?import javafx.scene.image.Image?>
|
|
|
|
<?import javafx.scene.image.Image?>
|
|
|
|
<?import javafx.scene.image.ImageView?>
|
|
|
|
<?import javafx.scene.image.ImageView?>
|
|
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
<?import javafx.scene.layout.ColumnConstraints?>
|
|
|
|
|
|
|
|
<?import javafx.scene.layout.GridPane?>
|
|
|
|
|
|
|
|
<?import javafx.scene.layout.RowConstraints?>
|
|
|
|
|
|
|
|
<?import javafx.scene.layout.StackPane?>
|
|
|
|
<?import javafx.scene.shape.Circle?>
|
|
|
|
<?import javafx.scene.shape.Circle?>
|
|
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
<GridPane fx:id="arrowGridPane" maxHeight="-Infinity" maxWidth="-Infinity" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="visualiser.Controllers.ArrowController">
|
|
|
|
|
|
|
|
|
|
|
|
<GridPane fx:id="arrowGridPane" maxHeight="-Infinity" maxWidth="-Infinity" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="visualiser.Controllers.ArrowController">
|
|
|
|
<columnConstraints>
|
|
|
|
<columnConstraints>
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" />
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" />
|
|
|
|
</columnConstraints>
|
|
|
|
</columnConstraints>
|
|
|
|
<rowConstraints>
|
|
|
|
<rowConstraints>
|
|
|
|
<RowConstraints minHeight="10.0" vgrow="SOMETIMES" />
|
|
|
|
<RowConstraints minHeight="20.0" vgrow="SOMETIMES" />
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="60.0" vgrow="SOMETIMES" />
|
|
|
|
</rowConstraints>
|
|
|
|
</rowConstraints>
|
|
|
|
<children>
|
|
|
|
<children>
|
|
|
|
<Pane fx:id="compass" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="125.0" prefWidth="125.0">
|
|
|
|
<GridPane GridPane.rowIndex="1">
|
|
|
|
|
|
|
|
<columnConstraints>
|
|
|
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" />
|
|
|
|
|
|
|
|
</columnConstraints>
|
|
|
|
|
|
|
|
<rowConstraints>
|
|
|
|
|
|
|
|
<RowConstraints minHeight="50.0" vgrow="SOMETIMES" />
|
|
|
|
|
|
|
|
</rowConstraints>
|
|
|
|
<children>
|
|
|
|
<children>
|
|
|
|
<StackPane fx:id="arrowStackPane" prefHeight="125.0" prefWidth="125.0">
|
|
|
|
<StackPane fx:id="arrowStackPane" prefHeight="50.0" prefWidth="50.0">
|
|
|
|
<children>
|
|
|
|
<children>
|
|
|
|
<ImageView fx:id="arrowImage" fitHeight="75.0" fitWidth="75.0">
|
|
|
|
<ImageView fx:id="arrowImage" fitHeight="30.0" fitWidth="30.0" StackPane.alignment="CENTER">
|
|
|
|
<image>
|
|
|
|
<image>
|
|
|
|
<Image url="@../images/arrow.png" />
|
|
|
|
<Image url="@../images/arrow.png" />
|
|
|
|
</image>
|
|
|
|
</image>
|
|
|
|
</ImageView>
|
|
|
|
</ImageView>
|
|
|
|
|
|
|
|
<Circle fx:id="circle" fill="#1f93ff00" radius="30.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="3.0" StackPane.alignment="TOP_LEFT" />
|
|
|
|
</children>
|
|
|
|
</children>
|
|
|
|
</StackPane>
|
|
|
|
</StackPane>
|
|
|
|
<Circle fx:id="circle" fill="#1f93ff00" layoutX="63.0" layoutY="63.0" radius="60.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="3.0" />
|
|
|
|
<Label fx:id="northLabel" text="N" GridPane.halignment="CENTER" GridPane.valignment="TOP">
|
|
|
|
<Label fx:id="northLabel" layoutX="55.0" layoutY="1.0" text="N">
|
|
|
|
|
|
|
|
<font>
|
|
|
|
<font>
|
|
|
|
<Font name="System Bold" size="18.0" />
|
|
|
|
<Font name="System Bold" size="10.0" />
|
|
|
|
</font>
|
|
|
|
</font>
|
|
|
|
|
|
|
|
<padding>
|
|
|
|
|
|
|
|
<Insets top="5.0" />
|
|
|
|
|
|
|
|
</padding>
|
|
|
|
</Label>
|
|
|
|
</Label>
|
|
|
|
<Label fx:id="windLabel" layoutX="42.0" layoutY="95.0" text="Wind">
|
|
|
|
<Label fx:id="windLabel" text="Wind" GridPane.halignment="CENTER" GridPane.valignment="BOTTOM">
|
|
|
|
<font>
|
|
|
|
<font>
|
|
|
|
<Font name="System Bold" size="16.0" />
|
|
|
|
<Font name="System Bold" size="9.0" />
|
|
|
|
</font>
|
|
|
|
</font>
|
|
|
|
|
|
|
|
<padding>
|
|
|
|
|
|
|
|
<Insets bottom="5.0" />
|
|
|
|
|
|
|
|
</padding>
|
|
|
|
</Label>
|
|
|
|
</Label>
|
|
|
|
</children>
|
|
|
|
</children>
|
|
|
|
</Pane>
|
|
|
|
</GridPane>
|
|
|
|
<Label fx:id="speedLabel" text="SPEED" GridPane.halignment="CENTER" GridPane.hgrow="NEVER" GridPane.rowIndex="1">
|
|
|
|
<Label fx:id="speedLabel" text="SPEED" GridPane.halignment="CENTER" GridPane.hgrow="NEVER" GridPane.valignment="TOP">
|
|
|
|
<font>
|
|
|
|
<font>
|
|
|
|
<Font name="System Bold" size="16.0" />
|
|
|
|
<Font name="System Bold" size="10.0" />
|
|
|
|
</font>
|
|
|
|
</font>
|
|
|
|
<GridPane.margin>
|
|
|
|
<GridPane.margin>
|
|
|
|
<Insets />
|
|
|
|
<Insets />
|
|
|
|
|