public static enum History.Listener.OperationType extends java.lang.Enum<History.Listener.OperationType>
| Enum Constant and Description |
|---|
CHANGE
Any operation without any execution or roll back
|
INSERT
Insertion operation (caused by (@code addAndExecute()))
|
MOVE
Random movement in the history (caused by
moveBefore(Command) or moveAfter(Command)) |
REDO
Explicit single execution operation (caused by
executeNext()) |
UNDO
Explicit single execution operation (caused by
rollBackPrevious()) |
| Modifier and Type | Method and Description |
|---|---|
static History.Listener.OperationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static History.Listener.OperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final History.Listener.OperationType INSERT
public static final History.Listener.OperationType REDO
executeNext())public static final History.Listener.OperationType UNDO
rollBackPrevious())public static final History.Listener.OperationType MOVE
moveBefore(Command) or moveAfter(Command))public static final History.Listener.OperationType CHANGE
public static History.Listener.OperationType[] values()
for (History.Listener.OperationType c : History.Listener.OperationType.values()) System.out.println(c);
public static History.Listener.OperationType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null