gui.transact
Enum TrConstants

java.lang.Object
  extended by java.lang.Enum<TrConstants>
      extended by gui.transact.TrConstants
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TrConstants>

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

State constants

Author:
GEORGESC

Enum Constant Summary
AVAILABLE
           
EXIT_APP
           
INIT_DIAL_CLIENT
           
INIT_DIAL_SERV
           
INIT_GLOBAL_PROCS
           
INIT_SPEECH_HANDLER
           
PLAY_BACK
           
READY_TO_RECOGNISE
           
RECOGNISE
           
 
Field Summary
private  TrState state
           
 
Method Summary
 TrState getState()
           
static TrConstants valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TrConstants[] 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

AVAILABLE

public static final TrConstants AVAILABLE

INIT_GLOBAL_PROCS

public static final TrConstants INIT_GLOBAL_PROCS

INIT_SPEECH_HANDLER

public static final TrConstants INIT_SPEECH_HANDLER

INIT_DIAL_SERV

public static final TrConstants INIT_DIAL_SERV

INIT_DIAL_CLIENT

public static final TrConstants INIT_DIAL_CLIENT

READY_TO_RECOGNISE

public static final TrConstants READY_TO_RECOGNISE

RECOGNISE

public static final TrConstants RECOGNISE

PLAY_BACK

public static final TrConstants PLAY_BACK

EXIT_APP

public static final TrConstants EXIT_APP
Field Detail

state

private final TrState state
Method Detail

values

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

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

valueOf

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

getState

public TrState getState()