org.openptk.api
Enum State

java.lang.Object
  extended by java.lang.Enum<State>
      extended by org.openptk.api.State
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<State>

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

Author:
Scott Fehrman, Sun Microsystems, Inc. contributor Derrick Harcey, Sun Microsystems, Inc.

Enum Constant Summary
ALLOWED
           
AUTHENTICATED
           
CONFIG
           
DENIED
           
DESTROYED
           
DISABLED
           
ERROR
           
FAILED
           
INVALID
           
KEY
           
MULTI
           
NEW
           
NOTAPPLICABLE
           
NOTAUTHENTICATED
           
NOTDEFINED
           
NOTEXIST
           
NULL
           
OBJECT
           
OK
           
READY
           
RUNNING
           
STOPPED
           
SUCCESS
           
VALID
           
VALUE
           
WAITING
           
 
Method Summary
static State valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static State[] 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

ALLOWED

public static final State ALLOWED

AUTHENTICATED

public static final State AUTHENTICATED

CONFIG

public static final State CONFIG

DENIED

public static final State DENIED

DESTROYED

public static final State DESTROYED

DISABLED

public static final State DISABLED

ERROR

public static final State ERROR

FAILED

public static final State FAILED

INVALID

public static final State INVALID

KEY

public static final State KEY

MULTI

public static final State MULTI

NEW

public static final State NEW

NOTAPPLICABLE

public static final State NOTAPPLICABLE

NOTAUTHENTICATED

public static final State NOTAUTHENTICATED

NOTDEFINED

public static final State NOTDEFINED

NOTEXIST

public static final State NOTEXIST

NULL

public static final State NULL

OBJECT

public static final State OBJECT

OK

public static final State OK

READY

public static final State READY

RUNNING

public static final State RUNNING

STOPPED

public static final State STOPPED

SUCCESS

public static final State SUCCESS

VALID

public static final State VALID

VALUE

public static final State VALUE

WAITING

public static final State WAITING
Method Detail

valueOf

public static 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
java.lang.NullPointerException - if the argument is null

values

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

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


View/submit a bug or feature

For further API reference and developer documentation, see www.openptk.org. That documentation contains more detailed, developer-targeted descriptions, definitions of terms, workarounds, and working code examples.

Copyright (C) 2008-2012, Project OpenPTK. All Rights Reserved