org.ka2ddo.yaac.ax25
Enum ListViewMode

java.lang.Object
  extended by java.lang.Enum<ListViewMode>
      extended by org.ka2ddo.yaac.ax25.ListViewMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ListViewMode>

public enum ListViewMode
extends java.lang.Enum<ListViewMode>

Enums specifying the view modes for the StationListViewer model.


Enum Constant Summary
ALL
          View both stations and objects.
OBJECT_ONLY
          View only objects (non-transmitting entities announced by a station).
STATION_ONLY
          View only stations (entities originating messages on their own).
 
Method Summary
 boolean isIncludeObjects()
           
 boolean isIncludeStations()
           
 java.lang.String toString()
           
static ListViewMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ListViewMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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 Detail

values

public static ListViewMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ListViewMode c : ListViewMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ListViewMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

isIncludeObjects

public boolean isIncludeObjects()

isIncludeStations

public boolean isIncludeStations()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ListViewMode>