Class RunwayThreshold
java.lang.Object
org.deltava.beans.navdata.RunwayThreshold
- All Implemented Interfaces:
GeoLocation
,IconMapEntry
,MapEntry
,MarkerMapEntry
A bean to store ACARS takeoff/landing runway data.
- Since:
- 10.3
- Version:
- 10.3
- Author:
- Luke
-
Field Summary
Fields inherited from interface org.deltava.beans.GeoLocation
ALL, DEGREE_FEET, DEGREE_MILES, FEET_MILES, LAT_DIRECTIONS, LATITUDE, LON_DIRECTIONS, LONGITUDE, RADIAN_MILES
-
Constructor Summary
ConstructorsConstructorDescriptionRunwayThreshold
(GeoLocation loc, String name, int size) Initializes the bean. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the Google Earth icon code.Returns the icon color for this entry if displayed in a Google Map.Returns the text to display in this marker's infobox if displayed in a Google Map.double
Returns the latitude of this location.double
Returns the longitude of this location.int
Returns the Google Earth palette code.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.deltava.beans.GeoLocation
distanceFeet, distanceTo
-
Constructor Details
-
RunwayThreshold
RunwayThreshold(GeoLocation loc, String name, int size) Initializes the bean.- Parameters:
loc
- the GeoLocation of the thresholdname
- the Runway namesize
- the threshold displacement in feet
-
-
Method Details
-
getLatitude
public double getLatitude()Description copied from interface:GeoLocation
Returns the latitude of this location.- Specified by:
getLatitude
in interfaceGeoLocation
- Returns:
- the latitude in degrees
-
getLongitude
public double getLongitude()Description copied from interface:GeoLocation
Returns the longitude of this location.- Specified by:
getLongitude
in interfaceGeoLocation
- Returns:
- the longitude in degrees
-
getIconColor
Description copied from interface:MarkerMapEntry
Returns the icon color for this entry if displayed in a Google Map.- Specified by:
getIconColor
in interfaceMarkerMapEntry
- Returns:
- the icon color
-
getPaletteCode
public int getPaletteCode()Description copied from interface:IconMapEntry
Returns the Google Earth palette code.- Specified by:
getPaletteCode
in interfaceIconMapEntry
- Returns:
- the palette code
-
getIconCode
public int getIconCode()Description copied from interface:IconMapEntry
Returns the Google Earth icon code.- Specified by:
getIconCode
in interfaceIconMapEntry
- Returns:
- the icon code within the palette
-
getInfoBox
Description copied from interface:MapEntry
Returns the text to display in this marker's infobox if displayed in a Google Map.- Specified by:
getInfoBox
in interfaceMapEntry
- Returns:
- the infobox HTML text, or null if no infobox to be displayed
-