Fixed issues with showing race view controller. Added missing icons. Added a smooth version of land.

#fix
This commit is contained in:
Calum
2017-09-26 01:49:43 +13:00
parent 06e5f4ae00
commit 81e791bd1a
7 changed files with 327 additions and 383 deletions
@@ -105,10 +105,10 @@ public class GameView3D extends GameView{
skybox.getTransforms().addAll(new Rotate(90, Rotate.X_AXIS)); skybox.getTransforms().addAll(new Rotate(90, Rotate.X_AXIS));
Model land = ModelFactory.importModel(ModelType.LAND_SMOOTH); Model land = ModelFactory.importModel(ModelType.LAND_SMOOTH);
land.getAssets().getChildren().get(0).getTransforms().add(new Rotate(90, Rotate.X_AXIS)); land.getAssets().getTransforms().add(new Rotate(90, Rotate.X_AXIS));
gameObjects.getChildren().addAll( gameObjects.getChildren().addAll(
raceBorder, trail, markers, tokens, skybox, land.getAssets().getChildren().get(0) raceBorder, trail, markers, tokens, skybox, land.getAssets()
); );
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

File diff suppressed because one or more lines are too long
+273 -292
View File
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.*?>
<?import javafx.scene.shape.*?>
<?import com.jfoenix.controls.*?> <?import com.jfoenix.controls.*?>
<?import java.lang.*?> <?import java.lang.*?>
<?import javafx.geometry.*?> <?import javafx.geometry.*?>
@@ -9,300 +7,283 @@
<?import javafx.scene.image.*?> <?import javafx.scene.image.*?>
<?import javafx.scene.layout.*?> <?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?> <?import javafx.scene.text.*?>
<?import com.jfoenix.controls.JFXButton?>
<?import com.jfoenix.controls.JFXTextField?>
<?import java.lang.String?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.text.Font?>
<AnchorPane fx:id="rvAnchorPane" maxHeight="1.7976931348623157E308" <StackPane fx:id="contentStackPane" maxHeight="1.7976931348623157E308"
maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="800.0" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity"
prefWidth="1200.0" style="-fx-background-color: lightblue;" xmlns="http://javafx.com/javafx/8" prefHeight="800.0" prefWidth="1200.0"
style="-fx-background-color: skyblue;" xmlns="http://javafx.com/javafx/8"
xmlns:fx="http://javafx.com/fxml/1" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="seng302.visualiser.controllers.RaceViewController"> fx:controller="seng302.visualiser.controllers.RaceViewController">
<children> <children>
<StackPane fx:id="contentAnchorPane" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="800.0" prefWidth="1200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> <GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
<children> prefHeight="800.0" prefWidth="1200.0">
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" <columnConstraints>
prefHeight="800.0" prefWidth="1200.0"> <ColumnConstraints hgrow="SOMETIMES" maxWidth="250.0" minWidth="250.0"
<columnConstraints> prefWidth="250.0"/>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="250.0" minWidth="250.0" <ColumnConstraints hgrow="SOMETIMES" maxWidth="1.7976931348623157E308"/>
prefWidth="250.0"/> <ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="400.0"
<ColumnConstraints hgrow="SOMETIMES" maxWidth="1.7976931348623157E308"/> prefWidth="400.0"/>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="400.0" </columnConstraints>
prefWidth="400.0"/> <rowConstraints>
</columnConstraints> <RowConstraints maxHeight="70.0" minHeight="70.0" prefHeight="70.0"
<rowConstraints> vgrow="SOMETIMES"/>
<RowConstraints maxHeight="70.0" minHeight="70.0" prefHeight="70.0" <RowConstraints maxHeight="1.7976931348623157E308" vgrow="SOMETIMES"/>
vgrow="SOMETIMES"/> <RowConstraints maxHeight="250.0" minHeight="250.0" prefHeight="250.0"
<RowConstraints maxHeight="1.7976931348623157E308" vgrow="SOMETIMES"/> valignment="BOTTOM" vgrow="SOMETIMES"/>
<RowConstraints maxHeight="250.0" minHeight="250.0" prefHeight="250.0" </rowConstraints>
valignment="BOTTOM" vgrow="SOMETIMES"/> <children>
</rowConstraints> <GridPane id="timerGrid" fx:id="timerGrid" prefWidth="192.0"
<children> styleClass="timer">
<GridPane id="timerGrid" fx:id="timerGrid" prefWidth="192.0" <columnConstraints>
styleClass="timer"> <ColumnConstraints hgrow="SOMETIMES" maxWidth="50.0" minWidth="50.0"
<columnConstraints> prefWidth="50.0"/>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="50.0" minWidth="50.0" <ColumnConstraints hgrow="SOMETIMES" maxWidth="135.0"
prefWidth="50.0"/> minWidth="135.0" prefWidth="135.0"/>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="135.0" </columnConstraints>
minWidth="135.0" prefWidth="135.0"/> <rowConstraints>
</columnConstraints> <RowConstraints minHeight="10.0" prefHeight="30.0"
<rowConstraints> vgrow="SOMETIMES"/>
<RowConstraints minHeight="10.0" prefHeight="30.0" </rowConstraints>
vgrow="SOMETIMES"/> <opaqueInsets>
</rowConstraints> <Insets/>
<opaqueInsets> </opaqueInsets>
<Insets/> <GridPane.margin>
</opaqueInsets> <Insets left="10.0" right="200.0" top="10.0"/>
<GridPane.margin> </GridPane.margin>
<Insets left="10.0" right="200.0" top="10.0"/> <children>
</GridPane.margin> <ImageView fitHeight="40.0" fitWidth="40.0" pickOnBounds="true"
<children> preserveRatio="true" GridPane.halignment="CENTER"
<ImageView fitHeight="40.0" fitWidth="40.0" pickOnBounds="true" GridPane.valignment="CENTER">
preserveRatio="true" GridPane.halignment="CENTER" <image>
GridPane.valignment="CENTER"> <Image url="@../images/timer.png"/>
<image> </image>
<Image url="@../images/timer.png"/> <GridPane.margin>
</image> <Insets/>
<GridPane.margin> </GridPane.margin>
<Insets/> </ImageView>
</GridPane.margin> <Label fx:id="timerLabel" text="00:03:34" GridPane.columnIndex="1"
</ImageView> GridPane.halignment="CENTER" GridPane.valignment="CENTER">
<Label fx:id="timerLabel" text="00:03:34" GridPane.columnIndex="1" <font>
GridPane.halignment="CENTER" GridPane.valignment="CENTER"> <Font size="21.0"/>
<font> </font>
<Font size="21.0"/> <GridPane.margin>
</font> <Insets/>
<GridPane.margin> </GridPane.margin>
<Insets/> </Label>
</GridPane.margin> </children>
</Label> </GridPane>
</children> <GridPane GridPane.columnIndex="2">
</GridPane> <columnConstraints>
<GridPane GridPane.columnIndex="2"> <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0"
<columnConstraints> prefWidth="100.0"/>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0"
prefWidth="100.0"/> prefWidth="100.0"/>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" </columnConstraints>
prefWidth="100.0"/> <rowConstraints>
</columnConstraints> <RowConstraints minHeight="10.0" prefHeight="30.0"
<rowConstraints> vgrow="SOMETIMES"/>
<RowConstraints minHeight="10.0" prefHeight="30.0" </rowConstraints>
vgrow="SOMETIMES"/> </GridPane>
</rowConstraints> <GridPane fx:id="chatGridPane" GridPane.columnIndex="2"
</GridPane> GridPane.rowIndex="2">
<GridPane fx:id="chatGridPane" GridPane.columnIndex="2" <columnConstraints>
GridPane.rowIndex="2"> <ColumnConstraints hgrow="SOMETIMES" maxWidth="390.0"
<columnConstraints> minWidth="390.0" prefWidth="390.0"/>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="390.0" </columnConstraints>
minWidth="390.0" prefWidth="390.0"/> <rowConstraints>
</columnConstraints> <RowConstraints maxHeight="1.7976931348623157E308"
<rowConstraints> vgrow="SOMETIMES"/>
<RowConstraints maxHeight="1.7976931348623157E308" <RowConstraints maxHeight="60.0" minHeight="60.0" prefHeight="60.0"
vgrow="SOMETIMES"/> vgrow="SOMETIMES"/>
<RowConstraints maxHeight="60.0" minHeight="60.0" prefHeight="60.0" </rowConstraints>
vgrow="SOMETIMES"/> <children>
</rowConstraints> <Pane fx:id="chatHistoryHolder" prefHeight="200.0" prefWidth="200.0"
<children> GridPane.hgrow="ALWAYS" GridPane.valignment="BOTTOM"
<Pane fx:id="chatHistoryHolder" prefHeight="200.0" prefWidth="200.0" GridPane.vgrow="ALWAYS">
GridPane.hgrow="ALWAYS" GridPane.valignment="BOTTOM" <GridPane.margin>
GridPane.vgrow="ALWAYS"> <Insets/>
<GridPane.margin> </GridPane.margin>
<Insets/> <padding>
</GridPane.margin> <Insets bottom="10.0" left="10.0" right="10.0" top="10.0"/>
<padding> </padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0"/> </Pane>
</padding> <GridPane fx:id="chatInputHolder" GridPane.rowIndex="1">
</Pane> <columnConstraints>
<GridPane fx:id="chatInputHolder" GridPane.rowIndex="1"> <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0"
<columnConstraints> prefWidth="100.0"/>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" <ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity"
prefWidth="100.0"/> minWidth="90.0" prefWidth="90.0"/>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" </columnConstraints>
minWidth="90.0" prefWidth="90.0"/> <rowConstraints>
</columnConstraints> <RowConstraints maxHeight="50.0" minHeight="50.0"
<rowConstraints> prefHeight="50.0" valignment="CENTER" vgrow="SOMETIMES"/>
<RowConstraints maxHeight="50.0" minHeight="50.0" </rowConstraints>
prefHeight="50.0" valignment="CENTER" vgrow="SOMETIMES"/> <children>
</rowConstraints> <JFXButton fx:id="chatSend" alignment="CENTER"
<children> buttonType="RAISED" maxHeight="-Infinity"
<JFXButton fx:id="chatSend" alignment="CENTER" maxWidth="1.7976931348623157E308" minHeight="-Infinity"
buttonType="RAISED" maxHeight="-Infinity" minWidth="-Infinity" prefHeight="35.0" text="SEND"
maxWidth="1.7976931348623157E308" minHeight="-Infinity" GridPane.columnIndex="1">
minWidth="-Infinity" prefHeight="35.0" text="SEND" <GridPane.margin>
GridPane.columnIndex="1"> <Insets bottom="10.0" left="10.0" right="10.0"
<GridPane.margin> top="10.0"/>
<Insets bottom="10.0" left="10.0" right="10.0" </GridPane.margin>
top="10.0"/> </JFXButton>
</GridPane.margin> <JFXTextField fx:id="chatInput" maxHeight="35.0"
</JFXButton> minHeight="-Infinity" prefHeight="35.0">
<JFXTextField fx:id="chatInput" maxHeight="35.0" <GridPane.margin>
minHeight="-Infinity" prefHeight="35.0"> <Insets bottom="10.0" left="20.0" right="10.0"/>
<GridPane.margin> </GridPane.margin>
<Insets bottom="10.0" left="20.0" right="10.0"/> <padding>
</GridPane.margin> <Insets right="15.0"/>
<padding> </padding>
<Insets right="15.0"/> </JFXTextField>
</padding> </children>
</JFXTextField> <GridPane.margin>
</children> <Insets top="10.0"/>
<GridPane.margin> </GridPane.margin>
<Insets top="10.0"/> </GridPane>
</GridPane.margin> </children>
</GridPane> <GridPane.margin>
</children> <Insets bottom="10.0" right="10.0"/>
<GridPane.margin> </GridPane.margin>
<Insets bottom="10.0" right="10.0"/> </GridPane>
</GridPane.margin> <GridPane fx:id="windGridPane" maxHeight="-Infinity" maxWidth="-Infinity"
</GridPane> prefHeight="150.0" prefWidth="240.0" GridPane.halignment="CENTER"
<GridPane fx:id="windGridPane" maxHeight="-Infinity" maxWidth="-Infinity" GridPane.rowIndex="2" GridPane.valignment="BOTTOM">
prefHeight="150.0" prefWidth="240.0" GridPane.halignment="CENTER" <columnConstraints>
GridPane.rowIndex="2" GridPane.valignment="BOTTOM"> <ColumnConstraints hgrow="SOMETIMES" maxWidth="110.0"
<columnConstraints> minWidth="110.0" prefWidth="110.0"/>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="110.0" <ColumnConstraints hgrow="SOMETIMES" maxWidth="132.0" minWidth="10.0"
minWidth="110.0" prefWidth="110.0"/> prefWidth="132.0"/>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="132.0" minWidth="10.0" </columnConstraints>
prefWidth="132.0"/> <rowConstraints>
</columnConstraints> <RowConstraints maxHeight="120.0" minHeight="120.0"
<rowConstraints> prefHeight="120.0" vgrow="SOMETIMES"/>
<RowConstraints maxHeight="120.0" minHeight="120.0" <RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0"
prefHeight="120.0" vgrow="SOMETIMES"/> vgrow="SOMETIMES"/>
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" </rowConstraints>
vgrow="SOMETIMES"/> <children>
</rowConstraints> <Label fx:id="positionLabel" text="Position:"
<children> GridPane.columnIndex="1" GridPane.halignment="LEFT"
<Label fx:id="positionLabel" text="Position:" GridPane.rowSpan="2" GridPane.valignment="TOP">
GridPane.columnIndex="1" GridPane.halignment="LEFT" <padding>
GridPane.rowSpan="2" GridPane.valignment="TOP"> <Insets bottom="5.0" left="10.0" right="5.0" top="5.0"/>
<padding> </padding>
<Insets bottom="5.0" left="10.0" right="5.0" top="5.0"/> </Label>
</padding> <Label fx:id="boatSpeedLabel" text="Boat Speed:"
</Label> GridPane.columnIndex="1" GridPane.halignment="LEFT"
<Label fx:id="boatSpeedLabel" text="Boat Speed:" GridPane.rowSpan="2" GridPane.valignment="CENTER">
GridPane.columnIndex="1" GridPane.halignment="LEFT" <opaqueInsets>
GridPane.rowSpan="2" GridPane.valignment="CENTER"> <Insets/>
<opaqueInsets> </opaqueInsets>
<Insets/> <padding>
</opaqueInsets> <Insets bottom="5.0" left="10.0" right="5.0" top="5.0"/>
<padding> </padding>
<Insets bottom="5.0" left="10.0" right="5.0" top="5.0"/> </Label>
</padding> <Label fx:id="boatHeadingLabel" text="Boat Heading:"
</Label> GridPane.columnIndex="1" GridPane.halignment="LEFT"
<Label fx:id="boatHeadingLabel" text="Boat Heading:" GridPane.rowSpan="2" GridPane.valignment="BOTTOM">
GridPane.columnIndex="1" GridPane.halignment="LEFT" <padding>
GridPane.rowSpan="2" GridPane.valignment="BOTTOM"> <Insets bottom="5.0" left="10.0" right="5.0" top="5.0"/>
<padding> </padding>
<Insets bottom="5.0" left="10.0" right="5.0" top="5.0"/> </Label>
</padding> <GridPane fx:id="windHolder" GridPane.rowSpan="2">
</Label> <columnConstraints>
<GridPane fx:id="windHolder" GridPane.rowSpan="2"> <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0"
<columnConstraints> prefWidth="100.0"/>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" </columnConstraints>
prefWidth="100.0"/> <rowConstraints>
</columnConstraints> <RowConstraints maxHeight="120.0" minHeight="120.0"
<rowConstraints> prefHeight="120.0" vgrow="SOMETIMES"/>
<RowConstraints maxHeight="120.0" minHeight="120.0" <RowConstraints maxHeight="30.0" minHeight="30.0"
prefHeight="120.0" vgrow="SOMETIMES"/> prefHeight="30.0" vgrow="SOMETIMES"/>
<RowConstraints maxHeight="30.0" minHeight="30.0" </rowConstraints>
prefHeight="30.0" vgrow="SOMETIMES"/> <children>
</rowConstraints> <ImageView fx:id="windImageView" fitHeight="92.0"
<children> fitWidth="109.0" pickOnBounds="true" preserveRatio="true"
<ImageView fx:id="windImageView" fitHeight="92.0" GridPane.halignment="CENTER" GridPane.rowSpan="2"
fitWidth="109.0" pickOnBounds="true" preserveRatio="true" GridPane.valignment="CENTER"/>
GridPane.halignment="CENTER" GridPane.rowSpan="2" <Label fx:id="windSpeedLabel" text="0.0 Knots"
GridPane.valignment="CENTER"/> GridPane.halignment="RIGHT" GridPane.rowIndex="1"
<Label fx:id="windSpeedLabel" text="0.0 Knots" GridPane.valignment="CENTER">
GridPane.halignment="RIGHT" GridPane.rowIndex="1" <GridPane.margin>
GridPane.valignment="CENTER"> <Insets right="5.0"/>
<GridPane.margin> </GridPane.margin>
<Insets right="5.0"/> </Label>
</GridPane.margin> <Label fx:id="windDirectionLabel" text="180.0°"
</Label> GridPane.halignment="LEFT" GridPane.rowIndex="1"
<Label fx:id="windDirectionLabel" text="180.0°" GridPane.valignment="CENTER">
GridPane.halignment="LEFT" GridPane.rowIndex="1" <GridPane.margin>
GridPane.valignment="CENTER"> <Insets left="5.0"/>
<GridPane.margin> </GridPane.margin>
<Insets left="5.0"/> </Label>
</GridPane.margin> </children>
</Label> </GridPane>
</children> </children>
</GridPane> <opaqueInsets>
</children> <Insets/>
<opaqueInsets> </opaqueInsets>
<Insets/> <GridPane.margin>
</opaqueInsets> <Insets bottom="10.0" left="10.0" top="40.0"/>
<GridPane.margin> </GridPane.margin>
<Insets bottom="10.0" left="10.0" top="40.0"/> </GridPane>
</GridPane.margin> <GridPane GridPane.columnIndex="1" GridPane.rowIndex="2">
</GridPane> <columnConstraints>
<GridPane GridPane.columnIndex="1" GridPane.rowIndex="2"> <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0"
<columnConstraints> prefWidth="100.0"/>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0"
prefWidth="100.0"/> prefWidth="100.0"/>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0"
prefWidth="100.0"/> prefWidth="100.0"/>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0"
prefWidth="100.0"/> prefWidth="100.0"/>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" </columnConstraints>
prefWidth="100.0"/> <rowConstraints>
</columnConstraints> <RowConstraints minHeight="10.0" prefHeight="30.0"
<rowConstraints> vgrow="SOMETIMES"/>
<RowConstraints minHeight="10.0" prefHeight="30.0" <RowConstraints minHeight="10.0" prefHeight="30.0"
vgrow="SOMETIMES"/> vgrow="SOMETIMES"/>
<RowConstraints minHeight="10.0" prefHeight="30.0" </rowConstraints>
vgrow="SOMETIMES"/> <children>
</rowConstraints> <ImageView fx:id="velocityIcon" fitHeight="123.0" fitWidth="139.0"
<children> pickOnBounds="true" preserveRatio="true" visible="false"
<ImageView fx:id="velocityIcon" fitHeight="123.0" fitWidth="139.0" GridPane.halignment="CENTER" GridPane.rowIndex="1">
pickOnBounds="true" preserveRatio="true" visible="false" <image>
GridPane.halignment="CENTER" GridPane.rowIndex="1"> <Image url="@../icons/velocity.png"/>
<image> </image>
<Image url="@../icons/velocity.png"/> </ImageView>
</image> <ImageView fx:id="handlingIcon" fitHeight="123.0" fitWidth="139.0"
</ImageView> pickOnBounds="true" preserveRatio="true" visible="false"
<ImageView fx:id="handlingIcon" fitHeight="123.0" fitWidth="139.0" GridPane.columnIndex="1" GridPane.halignment="CENTER"
pickOnBounds="true" preserveRatio="true" visible="false" GridPane.rowIndex="1">
GridPane.columnIndex="1" GridPane.halignment="CENTER" <image>
GridPane.rowIndex="1"> <Image url="@../icons/handlingIcon.png"/>
<image> </image>
<Image url="@../icons/handlingIcon.png"/> </ImageView>
</image> <ImageView fx:id="windWalkerIcon" fitHeight="123.0" fitWidth="139.0"
</ImageView> pickOnBounds="true" preserveRatio="true" visible="false"
<ImageView fx:id="windWalkerIcon" fitHeight="123.0" fitWidth="139.0" GridPane.columnIndex="2" GridPane.halignment="CENTER"
pickOnBounds="true" preserveRatio="true" visible="false" GridPane.rowIndex="1">
GridPane.columnIndex="2" GridPane.halignment="CENTER" <image>
GridPane.rowIndex="1"> <Image url="@../icons/windWalkerIcon.png"/>
<image> </image>
<Image url="@../icons/windWalkerIcon.png"/> </ImageView>
</image> <ImageView fx:id="bumperIcon" fitHeight="123.0" fitWidth="139.0"
</ImageView> pickOnBounds="true" preserveRatio="true" visible="false"
<ImageView fx:id="bumperIcon" fitHeight="123.0" fitWidth="139.0" GridPane.columnIndex="3" GridPane.halignment="CENTER"
pickOnBounds="true" preserveRatio="true" visible="false" GridPane.rowIndex="1">
GridPane.columnIndex="3" GridPane.halignment="CENTER" <image>
GridPane.rowIndex="1"> <Image url="@../icons/bumperIcon.png"/>
<image> </image>
<Image url="@../icons/bumperIcon.png"/> </ImageView>
</image> </children>
</ImageView> </GridPane>
</children> </children>
</GridPane> </GridPane>
</children> </children>
</GridPane>
</children>
</StackPane>
</children>
<stylesheets> <stylesheets>
<String fx:value="/css/Master.css"/> <String fx:value="/css/Master.css"/>
<String fx:value="/css/RaceView.css"/> <String fx:value="/css/RaceView.css"/>
</stylesheets> </stylesheets>
</AnchorPane> </StackPane>