|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<CommandStackEvent.ID> com.dlsc.flexgantt.command.CommandStackEvent.ID
public static enum CommandStackEvent.ID
The command stack event ID allows command stack listeners to distinguish between different types of command stack events. The IDs basically describe the various stages throughout the command execution cycle.
ICommandStack
,
ICommandStackListener
,
CommandStackEvent
Enum Constant Summary | |
---|---|
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'. |
Method Summary | |
---|---|
static CommandStackEvent.ID |
valueOf(java.lang.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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
public static final CommandStackEvent.ID[] values()
for(CommandStackEvent.ID c : CommandStackEvent.ID.values()) System.out.println(c);
public static CommandStackEvent.ID 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 name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |