public static enum CommandStackEvent.Operation extends Enum<CommandStackEvent.Operation>
| Enum Constant and Description |
|---|
EXECUTE
The value indicating that
CommandStack.execute(Command) was called. |
FLUSH
The value indicating that
CommandStackt#flush was called. |
REDO
The value indicating that
CommandStack.redo() was called. |
UNDO
the value indicating that
CommandStack.undo() was called. |
| Modifier and Type | Method and Description |
|---|---|
static CommandStackEvent.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandStackEvent.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandStackEvent.Operation EXECUTE
CommandStack.execute(Command) was called.public static final CommandStackEvent.Operation UNDO
CommandStack.undo() was called.public static final CommandStackEvent.Operation REDO
CommandStack.redo() was called.public static final CommandStackEvent.Operation FLUSH
CommandStackt#flush was called.public static CommandStackEvent.Operation[] values()
for (CommandStackEvent.Operation c : CommandStackEvent.Operation.values()) System.out.println(c);
public static CommandStackEvent.Operation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.