Enum Class ListViewMode

java.lang.Object
java.lang.Enum<ListViewMode>
org.ka2ddo.yaac.gui.ListViewMode
All Implemented Interfaces:
Serializable, Comparable<ListViewMode>, Constable

public enum ListViewMode extends Enum<ListViewMode>
Enums specifying the view modes for the StationListViewer model.
Author:
Andrew Pavlin, KA2DDO
  • Enum Constant Details

    • ALL

      public static final ListViewMode ALL
      View both stations and objects.
    • STATION_ONLY

      public static final ListViewMode STATION_ONLY
      View only stations (entities originating messages on their own).
    • OBJECT_ONLY

      public static final ListViewMode OBJECT_ONLY
      View only objects (non-transmitting entities announced by a station).
  • Method Details

    • values

      public static ListViewMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ListViewMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isIncludeObjects

      public boolean isIncludeObjects()
      Indicate whether this enum allows for including APRS Objects.
      Returns:
      boolean true if Objects should be included
    • isIncludeStations

      public boolean isIncludeStations()
      Indicate whether this enum allows for including APRS Stations.
      Returns:
      boolean true if Stations should be included
    • toString

      public String toString()
      Create a String describing this enum.
      Overrides:
      toString in class Enum<ListViewMode>
      Returns:
      descriptive String