Class OverlaySelector

All Implemented Interfaces:
ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, ListDataListener

public class OverlaySelector extends JComboBox
This class provides a selector for overlay characters for an APRS symbol. It accounts for any implemented APRS 1.2 extended symbols, and only shows legal characters when they are allowed by the associated symbol. As an option, to support the Duchifat-1 satellite, there is an option to turn off validation and allow any printable ASCII character (other than the / and \ characters that indicate the primary and alternate tables) to be used.
See Also:
  • Field Details

  • Constructor Details

    • OverlaySelector

      public OverlaySelector()
      Create a widget for selecting an overlay character for an APRS symbol.
    • OverlaySelector

      public OverlaySelector(char symTableId)
      Create an OverlaySelector widget initialized for the specified APRS symTableId or overlay code.
      Parameters:
      symTableId - char of symbol table or overlay code to initialize the widget
  • Method Details

    • setSymbol

      public void setSymbol(SelectableSymbol ss)
      Initialize the OverlaySelector for the specified APRS symTableId or overlay code.
      Parameters:
      ss - SelectableSymbol whose symTableId will configure the widget
    • setSymbol

      public void setSymbol(char symTableId)
      Initialize the OverlaySelector for the specified APRS symTableId or overlay code.
      Parameters:
      symTableId - char of symbol table or overlay code to initialize the widget
    • isAllowIllegalOverlays

      public static boolean isAllowIllegalOverlays()
      Report whether this client can specify illegal overlay characters.
      Returns:
      boolean true if illegal characters are allowed
    • setAllowIllegalOverlays

      public static void setAllowIllegalOverlays(boolean allowIllegalOverlays)
      Specify whether the user of this client can choose illegal overlay characters.
      Parameters:
      allowIllegalOverlays - boolean true if illegal characters should be allowed