Package editor.undo
Enum UndoChangeEvent.ChangeType
- java.lang.Object
-
- java.lang.Enum<UndoChangeEvent.ChangeType>
-
- editor.undo.UndoChangeEvent.ChangeType
-
- All Implemented Interfaces:
Serializable
,Comparable<UndoChangeEvent.ChangeType>
- Enclosing class:
- UndoChangeEvent
public static enum UndoChangeEvent.ChangeType extends Enum<UndoChangeEvent.ChangeType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UndoChangeEvent.ChangeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static UndoChangeEvent.ChangeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD_EDIT
public static final UndoChangeEvent.ChangeType ADD_EDIT
-
UNDO
public static final UndoChangeEvent.ChangeType UNDO
-
REDO
public static final UndoChangeEvent.ChangeType REDO
-
UNDO_OR_REDO
public static final UndoChangeEvent.ChangeType UNDO_OR_REDO
-
UNDO_TO
public static final UndoChangeEvent.ChangeType UNDO_TO
-
REDO_TO
public static final UndoChangeEvent.ChangeType REDO_TO
-
-
Method Detail
-
values
public static UndoChangeEvent.ChangeType[] 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 (UndoChangeEvent.ChangeType c : UndoChangeEvent.ChangeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UndoChangeEvent.ChangeType 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 nameNullPointerException
- if the argument is null
-
-