Class ATCMapEntry
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.acars.ACARSMapEntry
org.deltava.beans.acars.GroundMapEntry
org.deltava.beans.acars.ATCMapEntry
- All Implemented Interfaces:
Serializable, Comparable<Object>, GeoLocation, IDBean, MapEntry, MarkerMapEntry, Cacheable
A Map entry bean to store an ATC location.
- Since:
- 4.0
- Version:
- 12.3
- Author:
- Luke
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ACARSMapEntry
ACARSMapEntry.EntryType -
Field Summary
Fields inherited from class ACARSMapEntry
_betaBuild, _busy, _clientBuild, _pos, _usrModifier and TypeFieldDescriptionprotected intprotected booleanprotected intprotected GeoLocationprotected PilotFields inherited from interface GeoLocation
ALL, DEGREE_FEET, DEGREE_MILES, FEET_MILES, LAT_DIRECTIONS, LATITUDE, LON_DIRECTIONS, LONGITUDE, RADIAN_MILESModifier and TypeFieldDescriptionstatic final intFormat the Longitude and Latitude.static final doubleSize of a degree in feet.static final doubleSize of a degree in miles.static final intSize of a mile in feet.static final String[]Latitude directions.static final intFormat the Latitude only.static final String[]Longitude directions.static final intFormat the Longitude only.static final intRadius of the Earth in miles.Fields inherited from interface MapEntry
BLUE, BROWN, COLORS, GREEN, GREY, ORANGE, PURPLE, RED, WHITE, YELLOWModifier and TypeFieldDescriptionstatic final StringBlue Google Maps icon, displayed as $static/img/maps/point_blue.pngstatic final StringBrown Google Maps icon, displayed as $static/img/maps/point_brown.pngstatic final String[]All Google Maps icon colors.static final StringGreen Google Maps icon, displayed as $static/img/maps/point_green.pngstatic final StringGrey Google Maps icon, displayed as $static/img/maps/point_grey.pngstatic final StringOrange Google Maps icon, displayed as $static/img/maps/point_orange.pngstatic final StringPurple Google Maps icon, displayed as $static/img/maps/point_purple.pngstatic final StringRed Google Maps icon, displayed as $static/img/maps/point_red.pngstatic final StringWhite Google Maps icon, displayed as $static/img/maps/point_white.pngstatic final StringYellow Google Maps icon, displayed as $static/img/maps/point_yellow.png -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns 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.getType()Returns the map entry type.Methods inherited from class GroundMapEntry
getRange, setRangeMethods inherited from class ACARSMapEntry
getLatitude, getLocation, getLongitude, getPilot, isBusy, setBusy, setClientBuildModifier and TypeMethodDescriptionfinal doubleReturns the latitude of this location.Returns the entry's position.final doubleReturns the longitude of this location.getPilot()Returns the Pilot.booleanisBusy()Returns whether the user is marked Busy.voidsetBusy(boolean isBusy) Marks the user as Busy.voidsetClientBuild(int buildNumber, int beta) Sets the ACARS client version used.Methods inherited from class DatabaseBean
cacheKey, compareTo, equals, getHexID, getID, hashCode, setID, validateID, validateIDModifier and TypeMethodDescriptioncacheKey()Returns the cache key for this object.intbooleangetHexID()Returns the hexadecimal database ID of this object.intgetID()Returns the database ID of this object.inthashCode()voidsetID(int id) Update the database row ID of this bean.static voidvalidateID(int oldID, int newID) Validates a database ID.static voidvalidateID(int oldID, int newID, boolean allowZero) Validates a database ID.Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GeoLocation
distanceFeet, distanceToModifier and TypeMethodDescriptiondefault intCalculates the distance between two points in feet.default intCalculates the distance between two GeoLocations.
-
Constructor Details
-
ATCMapEntry
Creates the bean.- Parameters:
usr- the Pilotloc- the location
-
-
Method Details
-
getType
Description copied from class:ACARSMapEntryReturns the map entry type.- Specified by:
getTypein classACARSMapEntry- Returns:
- the EntryType
-
getIconColor
Description copied from interface:MarkerMapEntryReturns the icon color for this entry if displayed in a Google Map.- Returns:
- the icon color
-
getInfoBox
-