com.ionetrics.lib.annotatorcomm.annotatorjr
Enum TriggerMode

java.lang.Object
  extended by java.lang.Enum<TriggerMode>
      extended by com.ionetrics.lib.annotatorcomm.annotatorjr.TriggerMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TriggerMode>

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

TriggerMode


Enum Constant Summary
LVTTL_FALLING
           
LVTTL_RISING
           
SWITCH_CLOSE
           
SWITCH_OPEN
           
TTL_FALLING
           
TTL_RISING
           
 
Method Summary
 byte getMode()
           
 java.lang.String toString()
           
static TriggerMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TriggerMode[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TTL_RISING

public static final TriggerMode TTL_RISING

TTL_FALLING

public static final TriggerMode TTL_FALLING

LVTTL_RISING

public static final TriggerMode LVTTL_RISING

LVTTL_FALLING

public static final TriggerMode LVTTL_FALLING

SWITCH_CLOSE

public static final TriggerMode SWITCH_CLOSE

SWITCH_OPEN

public static final TriggerMode SWITCH_OPEN
Method Detail

values

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

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

valueOf

public static TriggerMode 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

getMode

public byte getMode()

toString

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


Copyright © 2006 Ionetrics Corp. All Rights Reserved.