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 TypeMethodDescriptionintReturns 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.doubleReturns the latitude of this location.doubleReturns the longitude of this location.intReturns the Google Earth palette code.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:GeoLocationReturns the latitude of this location.- Specified by:
getLatitudein interfaceGeoLocation- Returns:
- the latitude in degrees
-
getLongitude
public double getLongitude()Description copied from interface:GeoLocationReturns the longitude of this location.- Specified by:
getLongitudein interfaceGeoLocation- Returns:
- the longitude in degrees
-
getIconColor
Description copied from interface:MarkerMapEntryReturns the icon color for this entry if displayed in a Google Map.- Specified by:
getIconColorin interfaceMarkerMapEntry- Returns:
- the icon color
-
getPaletteCode
public int getPaletteCode()Description copied from interface:IconMapEntryReturns the Google Earth palette code.- Specified by:
getPaletteCodein interfaceIconMapEntry- Returns:
- the palette code
-
getIconCode
public int getIconCode()Description copied from interface:IconMapEntryReturns the Google Earth icon code.- Specified by:
getIconCodein interfaceIconMapEntry- Returns:
- the icon code within the palette
-
getInfoBox
Description copied from interface:MapEntryReturns the text to display in this marker's infobox if displayed in a Google Map.- Specified by:
getInfoBoxin interfaceMapEntry- Returns:
- the infobox HTML text, or null if no infobox to be displayed
-