Class NavigationFrequencyBean

java.lang.Object
org.deltava.beans.navdata.NavigationDataBean
org.deltava.beans.navdata.NavigationFrequencyBean
All Implemented Interfaces:
Serializable, Cloneable, Comparable<NavigationDataBean>, GeoLocation, IconMapEntry, LabelMapEntry, MapEntry, MarkerMapEntry, Cacheable
Direct Known Subclasses:
NDB, Runway, VOR

public abstract class NavigationFrequencyBean extends NavigationDataBean
A NavigationDataBean to represent a navigation aid with a tunable radio frequency.
Since:
1.0
Version:
6.0
Author:
Luke
See Also:
  • Constructor Details

    • NavigationFrequencyBean

      public NavigationFrequencyBean(Navaid type, double lat, double lon)
      Initializes the bean.
      Parameters:
      type - the type
      lat - the latitude
      lon - the longitude
  • Method Details

    • getFrequency

      public String getFrequency()
      Returns the navaid's frequency.
      Returns:
      the frequency
    • setFrequency

      public void setFrequency(String freq)
      Updates the navaid's frequency.
      Parameters:
      freq - the frequency
    • getInfoBox

      public String getInfoBox()
      Returns the default Google Maps infobox text.
      Returns:
      an HTML String