Modifier and Type | Method and Description |
---|---|
static Event |
getEvent(java.lang.String name)
Returns an
Event object given a name. |
java.lang.String |
getName()
Returns the name of the event.
|
java.lang.Class |
getResultClass() |
static Event |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event SAVE_EVENT
public static final Event CLOSE_EVENT
public static final Event COMP_DELETE_EVENT
public static final Event COMP_ADD_EVENT
public static final Event COMP_POSTADD_EVENT
public static final Event COMP_WIRE_EVENT
public static final Event COMP_SELECTION_EVENT
public static final Event DIALOG_EVENT
public static final Event NAVIGATION_EVENT
public static final Event RESET_EVENT
public static final Event RESEQUENCE_EVENT
public static final Event MODE_CHANGE_EVENT
public static final Event ATTRIBUTE_CHANGE_EVENT
public static final Event PARAMETER_CHANGE_EVENT
public static final Event SELECT_ACTION_EVENT
public static final Event CUSTOM_ACTION_EVENT
public static final Event GENERIC_ACTION_EVENT
public static final Event IS_UNSAVED_CHANGES_EVENT
public static Event[] values()
for (Event c : Event.values()) System.out.println(c);
public static Event 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 nullpublic java.lang.String getName()
public java.lang.Class getResultClass()
public static Event getEvent(java.lang.String name) throws java.lang.IllegalArgumentException
Event
object given a name.name
- Name of the event whose Event
object is to be
retrieved.Event
object corresponding to the given name of
the event.java.lang.IllegalArgumentException
- If the name
is not a
valid type of event