Package Map
Class Vessel
- All Implemented Interfaces:
Serializable
,Cloneable
,Icon
,ManagedParameters
- See Also:
-
Field Summary
Fields inherited from class PamView.PamSymbol
ICON_HORIZONTAL_CENTRE, ICON_HORIZONTAL_FILL, ICON_HORIZONTAL_LEFT, ICON_HORIZONTAL_RIGHT, ICON_STYLE_LINE, ICON_STYLE_SYMBOL, ICON_VERTICAL_BOTTOM, ICON_VERTICAL_FILL, ICON_VERTICAL_MIDDLE, ICON_VERTICAL_TOP, SYMBOL_LINESTART, SYMBOL_NONE, SYMBOL_REGIONSTART
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondrawShip
(Graphics2D g2d, MapRectProjector rectProj) Draw the shipGet a set of data that describes all of the parameters in a classgetShipGps
(boolean predict) double[]
double[]
void
void
setPixelsPerMetre
(double pixelsPerMetre) void
setPredictionArrow
(int predictionArrow) void
setShipColor
(Color shipColor) void
setShipGps
(GpsData shipGps) void
void
setVesselDimension
(double dimA, double dimB, double dimC, double dimD) Methods inherited from class PamView.PamSymbol
clone, draw, draw, draw, draw, draw, draw, draw, drawArrow, drawArrow, getDrawnPolygon, getFillColor, getHeight, getIconHeight, getIconHorizontalAlignment, getIconStyle, getIconVerticalAlignment, getIconWidth, getLineColor, getSymbol, getWidth, isFill, isSolidShape, makeKeyItem, setFill, setFillColor, setIconHorizontalAlignment, setIconStyle, setIconVerticalAlignment, setLineColor, setSymbol, toString
Methods inherited from class PamView.PamSymbolBase
getDHeight, getDWidth, getLineThickness, getSymbolData, getTextCode, getTextCode, interpretTextCode, setHeight, setLineThickness, setSymbolData, setWidth
-
Field Details
-
vesselColor
-
shipOutline
-
shipPolygon
-
shipPolygonLatLog
-
-
Constructor Details
-
Vessel
-
-
Method Details
-
setPixelsPerMetre
public void setPixelsPerMetre(double pixelsPerMetre) -
setVesselDimension
public void setVesselDimension(double dimA, double dimB, double dimC, double dimD) -
setPredictionArrow
public void setPredictionArrow(int predictionArrow) -
getShipColor
-
setShipColor
-
setShipOutline
public void setShipOutline() -
drawShip
Draw the ship- Parameters:
g2d
- Graphics contextrectProj
- graphics projector- Returns:
- 3D plot coordinate.
-
drawShip
-
getShipGps
-
setShipGps
-
getShipLLD
-
getShipPosition
-
paintIcon
-
getXPoints
public double[] getXPoints()- Overrides:
getXPoints
in classPamSymbol
-
getYPoints
public double[] getYPoints()- Overrides:
getYPoints
in classPamSymbol
-
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Overrides:
getParameterSet
in classPamSymbol
- Returns:
- description of the parameters in a class.
-