edu.rice.cs.drjava.ui.avail
Enum GUIAvailabilityListener.ComponentType

java.lang.Object
  extended by java.lang.Enum<GUIAvailabilityListener.ComponentType>
      extended by edu.rice.cs.drjava.ui.avail.GUIAvailabilityListener.ComponentType
All Implemented Interfaces:
Serializable, Comparable<GUIAvailabilityListener.ComponentType>
Enclosing interface:
GUIAvailabilityListener

public static enum GUIAvailabilityListener.ComponentType
extends Enum<GUIAvailabilityListener.ComponentType>


Enum Constant Summary
COMPILER
           
DEBUGGER
           
DEBUGGER_SUSPENDED
           
INTERACTIONS
           
JAVADOC
           
JUNIT
           
LANGUAGE_LEVELS
           
PROJECT
           
PROJECT_BUILD_DIR
           
PROJECT_MAIN_CLASS
           
 
Method Summary
static GUIAvailabilityListener.ComponentType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GUIAvailabilityListener.ComponentType[] 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

COMPILER

public static final GUIAvailabilityListener.ComponentType COMPILER

INTERACTIONS

public static final GUIAvailabilityListener.ComponentType INTERACTIONS

DEBUGGER

public static final GUIAvailabilityListener.ComponentType DEBUGGER

DEBUGGER_SUSPENDED

public static final GUIAvailabilityListener.ComponentType DEBUGGER_SUSPENDED

JUNIT

public static final GUIAvailabilityListener.ComponentType JUNIT

JAVADOC

public static final GUIAvailabilityListener.ComponentType JAVADOC

PROJECT

public static final GUIAvailabilityListener.ComponentType PROJECT

PROJECT_MAIN_CLASS

public static final GUIAvailabilityListener.ComponentType PROJECT_MAIN_CLASS

PROJECT_BUILD_DIR

public static final GUIAvailabilityListener.ComponentType PROJECT_BUILD_DIR

LANGUAGE_LEVELS

public static final GUIAvailabilityListener.ComponentType LANGUAGE_LEVELS
Method Detail

values

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

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

valueOf

public static GUIAvailabilityListener.ComponentType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null