com.threerings.opengl.gui
Enum EditableTextComponent.CompoundType

java.lang.Object
  extended by java.lang.Enum<EditableTextComponent.CompoundType>
      extended by com.threerings.opengl.gui.EditableTextComponent.CompoundType
All Implemented Interfaces:
Serializable, Comparable<EditableTextComponent.CompoundType>
Enclosing class:
EditableTextComponent

protected static enum EditableTextComponent.CompoundType
extends Enum<EditableTextComponent.CompoundType>

Edits that can be compounded together.


Enum Constant Summary
BACKSPACE
           
DELETE
           
NONWORD_CHAR
           
WORD_CHAR
           
 
Method Summary
static EditableTextComponent.CompoundType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EditableTextComponent.CompoundType[] 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

WORD_CHAR

public static final EditableTextComponent.CompoundType WORD_CHAR

NONWORD_CHAR

public static final EditableTextComponent.CompoundType NONWORD_CHAR

BACKSPACE

public static final EditableTextComponent.CompoundType BACKSPACE

DELETE

public static final EditableTextComponent.CompoundType DELETE
Method Detail

values

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

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

valueOf

public static EditableTextComponent.CompoundType 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