|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.navigationmodel.A_ChartElement
uavsim.navigationmodel.A_ChartElementTuneable<VOR_ILS_DME_Frequency>
uavsim.navigationmodel.A_ILSCorridor
uavsim.navigationmodel.Localizer
public class Localizer
Defines an ILS localizer to a runway.
This component should not be instantiated and added to a chart directly because it is processed only as a members of an ILSAssembly.
| Field Summary | |
|---|---|
private static java.awt.Color |
COLOR
the glyph color |
private static Latitude |
LENGTH
the localizer length |
private static Latitude |
STATION_RADIUS
the localizer station radius |
private static AngleNavigational |
WIDTH
the localizer width |
private static AngleNavigational |
WIDTH_HALF
the localizer half-width |
| Fields inherited from class uavsim.navigationmodel.A_ILSCorridor |
|---|
_azimuth, _length, _width |
| Fields inherited from class uavsim.navigationmodel.A_ChartElementTuneable |
|---|
_designator, _frequency |
| Fields inherited from class uavsim.navigationmodel.A_ChartElement |
|---|
_anchor, _coordinate, _id |
| Constructor Summary | |
|---|---|
protected |
Localizer(java.lang.String id,
java.lang.String designator,
VOR_ILS_DME_Frequency frequency,
CoordinateWorld3D coordinate,
AngleNavigational azimuth)
Creates an ILS localizer element. |
| Method Summary | |
|---|---|
java.awt.Color |
getColor()
Gets the color of the glyph. |
boolean |
isOnLocalizer(CoordinateWorld coordinate)
Determines whether a coordinate is within the localizer arc. |
void |
render(java.awt.Graphics2D graphics,
I_WorldMappable mapper,
boolean areDetailsVisible)
Renders the glyph. |
| Methods inherited from class uavsim.navigationmodel.A_ILSCorridor |
|---|
getAzimuth, getLength, getWidth, toString |
| Methods inherited from class uavsim.navigationmodel.A_ChartElementTuneable |
|---|
getDesignator, getFrequency, hasFrequency |
| Methods inherited from class uavsim.navigationmodel.A_ChartElement |
|---|
areDetailsVisible, getCoordinate, getID, renderLabel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final java.awt.Color COLOR
private static final Latitude LENGTH
private static final Latitude STATION_RADIUS
private static final AngleNavigational WIDTH
private static final AngleNavigational WIDTH_HALF
| Constructor Detail |
|---|
protected Localizer(java.lang.String id,
java.lang.String designator,
VOR_ILS_DME_Frequency frequency,
CoordinateWorld3D coordinate,
AngleNavigational azimuth)
id - - the unique element identifierdesignator - - the station designatorfrequency - - the station frequencycoordinate - - the coordinate of the originazimuth - - the azimuth| Method Detail |
|---|
public java.awt.Color getColor()
getColor in class A_ChartElementpublic boolean isOnLocalizer(CoordinateWorld coordinate)
coordinate - - the coordinate
public void render(java.awt.Graphics2D graphics,
I_WorldMappable mapper,
boolean areDetailsVisible)
render in class A_ChartElementgraphics - - the graphics contextmapper - - the mapper that translates screen and world coordinatesareDetailsVisible - - whether low-level details that would clutter the display should be rendered
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||