|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.nas.fix.Fix
public abstract class Fix
Fix is an abstract class representing a National Airspace System (NAS) fix for designating a navigational position.See the source: AbstractFix.java
Fix,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
private java.lang.String |
icaoCode
The ico code for this fix |
protected MagneticDeclination |
magDec
|
private java.lang.String |
name
The identifier for the fix. |
private Position |
position
Position marks the three dimensional location of the fix. |
private HoldingPattern |
publishedHold
|
(package private) static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
Fix(java.lang.String name,
Position position)
Creates a Fix object from a name and a Position (magnetic declination is set to null). |
|
Fix(java.lang.String name,
Position position,
MagneticDeclination magDec)
Creates a Fix object from a name, position, and magnetic declination. |
|
| Method Summary | |
|---|---|
Fix |
clone()
Return a clone of this fix. |
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getIcaoCode()
|
MagneticDeclination |
getMagneticDeclination()
|
java.lang.String |
getName()
Represents a unique instance of a class: objects should either be the only object of a class with that name, or should replace obsolete objects of that name. |
Position |
getPosition()
|
HoldingPattern |
getPublishedHoldIfApplicable()
returns the published hold, or null if there is none |
VorNavAid |
getVorNavAid()
|
int |
hashCode()
|
void |
setIcaoCode(java.lang.String icaoCode)
|
void |
setPublishedHold(HoldingPattern hold)
|
java.lang.String |
toDraText()
Prints Fix information to a String. |
java.lang.String |
toDraText(MapProjection projection,
DistanceUnits dUnits)
Returns the DistSecond information as a DR&A text String: if the parameter passed is TRUE, then text contains xy-coordinates to describe the location instead of latitude/longitude. |
java.lang.String |
toString()
Returns the Fix information as a String. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
public static final java.lang.String CVS_VERSION_ID
private final java.lang.String name
private java.lang.String icaoCode
private final Position position
protected MagneticDeclination magDec
private HoldingPattern publishedHold
| Constructor Detail |
|---|
public Fix(java.lang.String name,
Position position)
name - The name of the fix.position - The location of the fix.
public Fix(java.lang.String name,
Position position,
MagneticDeclination magDec)
name - The name of the fix.position - The location of the fix.magDec - The magnetic declination of the fix.| Method Detail |
|---|
public void setPublishedHold(HoldingPattern hold)
public HoldingPattern getPublishedHoldIfApplicable()
public java.lang.String getName()
ManagedObject
getName in interface DraStorablegetName in interface ManagedObjectpublic Position getPosition()
getPosition in interface HasPosition
public MagneticDeclination getMagneticDeclination()
throws NoMagneticDeclinationException
NoMagneticDeclinationExceptionpublic VorNavAid getVorNavAid()
public Fix clone()
clone in interface DraStorableclone in class java.lang.Object
public java.lang.String toDraText(MapProjection projection,
DistanceUnits dUnits)
toDraText in interface HasTextXYprojection - Projection to use if writing location in xy-coords.dUnits - DistanceUnits to use if writing location in xy-coords.
public java.lang.String toDraText()
toDraText in interface TextWritablepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getIcaoCode()
public void setIcaoCode(java.lang.String icaoCode)
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||