public class TravellingVessel extends Object
| Type | Property and Description |
|---|---|
javafx.beans.property.BooleanProperty |
displayVessel
Property indicating if the position of the vessel should be drawn.
|
javafx.beans.property.DoubleProperty |
positionOnPath
Value between 0 and 1 indicating the position of the path.
|
| Modifier and Type | Field and Description |
|---|---|
private List<javafx.geometry.Point2D> |
calculatablePath
List of points representing the path.
|
private javafx.beans.property.BooleanProperty |
displayVessel
Property indicating if the position of the vessel should be drawn.
|
private javafx.scene.shape.Path |
drwawablePath
Path that can be used to display on the map.
|
private javafx.beans.property.DoubleProperty |
positionOnPath
Value between 0 and 1 indicating the position of the path.
|
private INavigableVessel |
vessel |
| Constructor and Description |
|---|
TravellingVessel() |
| Modifier and Type | Method and Description |
|---|---|
javafx.beans.property.BooleanProperty |
displayVesselProperty()
Property indicating if the position of the vessel should be drawn.
|
boolean |
getDisplayVessel()
Gets the value of the property displayVessel.
|
double |
getPositionOnPath()
Gets the value of the property positionOnPath.
|
javafx.beans.property.DoubleProperty |
positionOnPathProperty()
Value between 0 and 1 indicating the position of the path.
|
void |
setDisplayVessel(boolean displayVessel)
Sets the value of the property displayVessel.
|
void |
setPositionOnPath(double positionOnPath)
Sets the value of the property positionOnPath.
|
public javafx.beans.property.DoubleProperty positionOnPathProperty
getPositionOnPath(),
setPositionOnPath(double)public javafx.beans.property.BooleanProperty displayVesselProperty
getDisplayVessel(),
setDisplayVessel(boolean)private final INavigableVessel vessel
private javafx.scene.shape.Path drwawablePath
private List<javafx.geometry.Point2D> calculatablePath
private javafx.beans.property.DoubleProperty positionOnPath
private javafx.beans.property.BooleanProperty displayVessel
public javafx.beans.property.DoubleProperty positionOnPathProperty()
getPositionOnPath(),
setPositionOnPath(double)public void setPositionOnPath(double positionOnPath)
public javafx.beans.property.BooleanProperty displayVesselProperty()
getDisplayVessel(),
setDisplayVessel(boolean)public void setDisplayVessel(boolean displayVessel)
public double getPositionOnPath()
public boolean getDisplayVessel()
Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.