cct.cprocessor
Enum EraseCommandObject

java.lang.Object
  extended by java.lang.Enum<EraseCommandObject>
      extended by cct.cprocessor.EraseCommandObject
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EraseCommandObject>

 enum EraseCommandObject
extends java.lang.Enum<EraseCommandObject>

Title: Molecular Structure Viewer/Editor

Description: Computational Chemistry Toolkit

Copyright: Copyright (c) 2007

Company: ANU


Enum Constant Summary
A
           
ATOM
           
ATOMS
           
B
           
BOND
           
MOLECULE
           
 
Method Summary
static EraseCommandObject valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EraseCommandObject[] 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

A

public static final EraseCommandObject A

ATOM

public static final EraseCommandObject ATOM

ATOMS

public static final EraseCommandObject ATOMS

B

public static final EraseCommandObject B

BOND

public static final EraseCommandObject BOND

MOLECULE

public static final EraseCommandObject MOLECULE
Method Detail

values

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

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

valueOf

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