uavsim.navigationmodel
Class VORDMEStation
java.lang.Object
uavsim.navigationmodel.A_ChartElement
uavsim.navigationmodel.A_ChartElementTuneable<VOR_ILS_DME_Frequency>
uavsim.navigationmodel.VORDMEStation
public class VORDMEStation
- extends A_ChartElementTuneable<VOR_ILS_DME_Frequency>
Defines a VOR/DME/VORTAC station.
- Author:
- Dan Tappan [17.07.11]
|
Field Summary |
private static java.awt.Color |
COLOR
the color of the glyph |
private static Latitude |
RADIUS
the radius of the glyph |
|
Method Summary |
java.awt.Color |
getColor()
Gets the color of the glyph. |
void |
render(java.awt.Graphics2D graphics,
I_WorldMappable mapper,
boolean areDetailsVisible)
Renders the glyph. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COLOR
private static final java.awt.Color COLOR
- the color of the glyph
RADIUS
private static final Latitude RADIUS
- the radius of the glyph
VORDMEStation
public VORDMEStation(java.lang.String id,
CoordinateWorld3D coordinate,
java.lang.String designator,
VOR_ILS_DME_Frequency frequency)
- Creates a VOR/DME/VORTAC chart element.
- Parameters:
id - - the unique element identifiercoordinate - - the coordinate of the origindesignator - - the station designatorfrequency - - the station frequency
getColor
public java.awt.Color getColor()
- Gets the color of the glyph.
- Specified by:
getColor in class A_ChartElement
- Returns:
- the color
render
public void render(java.awt.Graphics2D graphics,
I_WorldMappable mapper,
boolean areDetailsVisible)
- Renders the glyph.
- Overrides:
render in class A_ChartElement
- Parameters:
graphics - - the graphics contextmapper - - the mapper that translates screen and world coordinatesareDetailsVisible - - whether low-level details that would clutter the display should be rendered