Class VOR
java.lang.Object
org.deltava.beans.navdata.NavigationDataBean
org.deltava.beans.navdata.NavigationFrequencyBean
org.deltava.beans.navdata.VOR
- All Implemented Interfaces:
Serializable, Cloneable, Comparable<NavigationDataBean>, GeoLocation, IconMapEntry, LabelMapEntry, MapEntry, MarkerMapEntry, Cacheable
A bean to store VOR information.
- Since:
- 1.0
- Version:
- 7.0
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from interface GeoLocation
ALL, DEGREE_FEET, DEGREE_MILES, FEET_MILES, LAT_DIRECTIONS, LATITUDE, LON_DIRECTIONS, LONGITUDE, RADIAN_MILES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the Google Earth icon code.Return the default Google Maps icon color.intReturns the Google Earth palette code.Methods inherited from class NavigationFrequencyBean
getFrequency, getInfoBox, setFrequencyMethods inherited from class NavigationDataBean
cacheKey, clone, compareTo, create, create, equals, getAirway, getCode, getHTMLPosition, getHTMLTitle, getLabel, getLatitude, getLongitude, getName, getRegion, getType, hashCode, isCoordinates, isInTerminalRoute, setAirway, setCode, setName, setRegion, toStringMethods inherited from interface GeoLocation
distanceFeet, distanceTo
-
Constructor Details
-
VOR
public VOR(double lat, double lon) Creates a new VOR object.- Parameters:
lat- the latitude in degreeslon- the longitude in degrees
-
-
Method Details
-
getIconColor
Return the default Google Maps icon color.- Returns:
- org.deltava.beans.MapEntry.BLUE
-
getPaletteCode
public int getPaletteCode()Returns the Google Earth palette code.- Returns:
- 4
-
getIconCode
public int getIconCode()Returns the Google Earth icon code.- Returns:
- 48
-