com.threerings.opengl.gui
Enum EditableTextComponent.CompoundType
java.lang.Object
java.lang.Enum<EditableTextComponent.CompoundType>
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.
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
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