|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deltava.beans.navdata.NavigationDataBean
org.deltava.beans.navdata.AirportLocation
public class AirportLocation
A class to store airport location data.
| Field Summary |
|---|
| Fields inherited from class org.deltava.beans.navdata.NavigationDataBean |
|---|
AIRPORT, INT, NAVTYPE_NAMES, NDB, RUNWAY, VOR |
| Fields inherited from interface org.deltava.beans.GeoLocation |
|---|
ALL, DEGREE_MILES, LAT_DIRECTIONS, LATITUDE, LON_DIRECTIONS, LONGITUDE |
| Fields inherited from interface org.deltava.beans.MapEntry |
|---|
BLUE, BROWN, COLORS, GREEN, GREY, LINECOLORS, ORANGE, PURPLE, RED, WHITE, YELLOW |
| Constructor Summary | |
|---|---|
AirportLocation(Airport a)
Creates a Airport location from an Airport bean. |
|
AirportLocation(double lat,
double lon)
Creates a new Airport location object. |
|
| Method Summary | |
|---|---|
String |
getAirway()
Returns the airway code. |
int |
getAltitude()
Returns the Airport's altitude. |
String |
getICAO()
Returns the Airport's ICAO code. |
int |
getIconCode()
Returns the Google Earth icon code. |
String |
getIconColor()
Return the default Google Maps icon color. |
String |
getInfoBox()
Returns the default Google Maps infobox text. |
int |
getPaletteCode()
Returns the Google Earth palette code. |
void |
setAltitude(int alt)
Updates the Airport's altitude. |
| Methods inherited from class org.deltava.beans.navdata.NavigationDataBean |
|---|
cacheKey, clone, compareTo, create, create, create, distanceTo, equals, getCode, getHTMLPosition, getHTMLTitle, getLatitude, getLongitude, getName, getPosition, getRegion, getType, getTypeName, hashCode, isCoordinates, isInTerminalRoute, setAirway, setCode, setName, setRegion, setType, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.deltava.beans.GeoLocation |
|---|
getLatitude, getLongitude |
| Constructor Detail |
|---|
public AirportLocation(double lat,
double lon)
lat - the latitude in degreeslon - the longitude in degreespublic AirportLocation(Airport a)
a - the Airport bean| Method Detail |
|---|
public String getICAO()
getICAO in interface ICAOAirportpublic int getAltitude()
getAltitude in interface GeospaceLocationpublic void setAltitude(int alt)
alt - the altitude in feet above mean sea level
IllegalArgumentException - if alt < -1500 or > 29000public final String getAirway()
getAirway in class NavigationDataBeanpublic String getIconColor()
getIconColor in interface MarkerMapEntrypublic int getPaletteCode()
getPaletteCode in interface IconMapEntrypublic int getIconCode()
getIconCode in interface IconMapEntrypublic String getInfoBox()
getInfoBox in interface MapEntry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||