com.web_visage.ichat
Enum EnumIChatCommand

java.lang.Object
  extended by java.lang.Enum<EnumIChatCommand>
      extended by com.web_visage.ichat.EnumIChatCommand
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EnumIChatCommand>

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

Typesafe enumeration of the iChat commands.

Author:
K.Baturytski

Enum Constant Summary
ALERT
           
BOARD
           
CONNECT
           
CREATE
           
CREATE_LINE
           
DISCONNECT
           
FORWARD
           
ME
           
RECEIVED
           
REFRESH
           
REFRESH_BOARD
           
RENAME
           
STATUS
           
STATUS_REQ
           
TEXT
           
 
Method Summary
static EnumIChatCommand lookupByValue(java.lang.String aValue)
          Looks up for an enumeration value by its value
static EnumIChatCommand valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EnumIChatCommand[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FORWARD

public static final EnumIChatCommand FORWARD

CONNECT

public static final EnumIChatCommand CONNECT

DISCONNECT

public static final EnumIChatCommand DISCONNECT

CREATE_LINE

public static final EnumIChatCommand CREATE_LINE

REFRESH

public static final EnumIChatCommand REFRESH

STATUS_REQ

public static final EnumIChatCommand STATUS_REQ

STATUS

public static final EnumIChatCommand STATUS

BOARD

public static final EnumIChatCommand BOARD

TEXT

public static final EnumIChatCommand TEXT

ME

public static final EnumIChatCommand ME

RECEIVED

public static final EnumIChatCommand RECEIVED

REFRESH_BOARD

public static final EnumIChatCommand REFRESH_BOARD

RENAME

public static final EnumIChatCommand RENAME

ALERT

public static final EnumIChatCommand ALERT

CREATE

public static final EnumIChatCommand CREATE
Method Detail

values

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

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

valueOf

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

lookupByValue

public static EnumIChatCommand lookupByValue(java.lang.String aValue)
                                      throws EnumerationValueNotFoundException
Looks up for an enumeration value by its value

Parameters:
aValue -
Returns:
Throws:
EnumerationValueNotFoundException