Class RunwayThreshold

java.lang.Object
org.deltava.beans.navdata.RunwayThreshold
All Implemented Interfaces:
GeoLocation, IconMapEntry, MapEntry, MarkerMapEntry

public class RunwayThreshold extends Object implements MarkerMapEntry, IconMapEntry
A bean to store ACARS takeoff/landing runway data.
Since:
10.3
Version:
10.3
Author:
Luke
  • Constructor Details

    • RunwayThreshold

      RunwayThreshold(GeoLocation loc, String name, int size)
      Initializes the bean.
      Parameters:
      loc - the GeoLocation of the threshold
      name - the Runway name
      size - 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 interface GeoLocation
      Returns:
      the latitude in degrees
    • getLongitude

      public double getLongitude()
      Description copied from interface: GeoLocation
      Returns the longitude of this location.
      Specified by:
      getLongitude in interface GeoLocation
      Returns:
      the longitude in degrees
    • getIconColor

      public String getIconColor()
      Description copied from interface: MarkerMapEntry
      Returns the icon color for this entry if displayed in a Google Map.
      Specified by:
      getIconColor in interface MarkerMapEntry
      Returns:
      the icon color
    • getPaletteCode

      public int getPaletteCode()
      Description copied from interface: IconMapEntry
      Returns the Google Earth palette code.
      Specified by:
      getPaletteCode in interface IconMapEntry
      Returns:
      the palette code
    • getIconCode

      public int getIconCode()
      Description copied from interface: IconMapEntry
      Returns the Google Earth icon code.
      Specified by:
      getIconCode in interface IconMapEntry
      Returns:
      the icon code within the palette
    • getInfoBox

      public String 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 interface MapEntry
      Returns:
      the infobox HTML text, or null if no infobox to be displayed