org.eclipse.net4j.buddies.common
Enum IBuddy.State

java.lang.Object
  extended by java.lang.Enum<IBuddy.State>
      extended by org.eclipse.net4j.buddies.common.IBuddy.State
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IBuddy.State>
Enclosing interface:
IBuddy

public static enum IBuddy.State
extends java.lang.Enum<IBuddy.State>


Enum Constant Summary
AVAILABLE
           
AWAY
           
DO_NOT_DISTURB
           
LONESOME
           
 
Method Summary
static IBuddy.State valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IBuddy.State[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AVAILABLE

public static final IBuddy.State AVAILABLE

LONESOME

public static final IBuddy.State LONESOME

AWAY

public static final IBuddy.State AWAY

DO_NOT_DISTURB

public static final IBuddy.State DO_NOT_DISTURB
Method Detail

values

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

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

valueOf

public static IBuddy.State 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

Copyright (c) 2004 - 2008 Eike Stepper, Germany.
All Rights Reserved.