org.openaltimeter.settings
Enum Settings.Action

java.lang.Object
  extended by java.lang.Enum<Settings.Action>
      extended by org.openaltimeter.settings.Settings.Action
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Settings.Action>
Enclosing class:
Settings

public static enum Settings.Action
extends java.lang.Enum<Settings.Action>


Enum Constant Summary
DO_NOTHING
           
OUTPUT_BATTERY_VOLTAGE
           
OUTPUT_LAUNCH_WINDOW_END_HEIGHT
           
OUTPUT_MAX_HEIGHT
           
OUTPUT_MAX_LAUNCH_HEIGHT
           
 
Method Summary
static Settings.Action valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Settings.Action[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DO_NOTHING

public static final Settings.Action DO_NOTHING

OUTPUT_MAX_HEIGHT

public static final Settings.Action OUTPUT_MAX_HEIGHT

OUTPUT_MAX_LAUNCH_HEIGHT

public static final Settings.Action OUTPUT_MAX_LAUNCH_HEIGHT

OUTPUT_LAUNCH_WINDOW_END_HEIGHT

public static final Settings.Action OUTPUT_LAUNCH_WINDOW_END_HEIGHT

OUTPUT_BATTERY_VOLTAGE

public static final Settings.Action OUTPUT_BATTERY_VOLTAGE
Method Detail

values

public static Settings.Action[] 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 (Settings.Action c : Settings.Action.values())
    System.out.println(c);

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

valueOf

public static Settings.Action 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