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
,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 org.deltava.beans.GeoLocation
ALL, DEGREE_FEET, DEGREE_MILES, FEET_MILES, LAT_DIRECTIONS, LATITUDE, LON_DIRECTIONS, LONGITUDE, RADIAN_MILES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the Google Earth icon code.Return the default Google Maps icon color.int
Returns the Google Earth palette code.Methods inherited from class org.deltava.beans.navdata.NavigationFrequencyBean
getFrequency, getInfoBox, setFrequency
Methods inherited from class org.deltava.beans.navdata.NavigationDataBean
cacheKey, clone, compareTo, create, create, equals, getAirway, getCode, getHTMLPosition, getHTMLTitle, getLatitude, getLongitude, getName, getPosition, getRegion, getType, hashCode, isCoordinates, isInTerminalRoute, setAirway, setCode, setName, setRegion, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.deltava.beans.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
-