public static enum CommandStackEvent.ID extends Enum<CommandStackEvent.ID>
ICommandStack
,
ICommandStackListener
,
CommandStackEvent
Enum Constant and Description |
---|
COMMAND_CANCELED
Identifier for canceled commands.
|
COMMAND_EXECUTED
Identifier for 'command terminated successfully'.
|
COMMAND_FAILED
Identifier for executed commands that failed.
|
COMMAND_STARTED
Identifier for 'command started' event. b
|
COMMAND_UNDONE
Identifier for 'command undo successful'.
|
Modifier and Type | Method and Description |
---|---|
static CommandStackEvent.ID |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandStackEvent.ID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandStackEvent.ID COMMAND_CANCELED
public static final CommandStackEvent.ID COMMAND_EXECUTED
public static final CommandStackEvent.ID COMMAND_FAILED
public static final CommandStackEvent.ID COMMAND_STARTED
public static final CommandStackEvent.ID COMMAND_UNDONE
public static CommandStackEvent.ID[] values()
for (CommandStackEvent.ID c : CommandStackEvent.ID.values()) System.out.println(c);
public static CommandStackEvent.ID 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 nullCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.