Enum ApplicationActionEvent.EventType
- java.lang.Object
-
- java.lang.Enum<ApplicationActionEvent.EventType>
-
- org.nuiton.jaxx.application.swing.actionng.ApplicationActionEvent.EventType
-
- All Implemented Interfaces:
Serializable,Comparable<ApplicationActionEvent.EventType>
- Enclosing class:
- ApplicationActionEvent
public static enum ApplicationActionEvent.EventType extends Enum<ApplicationActionEvent.EventType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DONEWhen action end with succes.FAILWhen action failed.INITBefore starting action.PROGRESSION_CHANGEWhen progression changed.STARTWhen action is started.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApplicationActionEvent.EventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ApplicationActionEvent.EventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INIT
public static final ApplicationActionEvent.EventType INIT
Before starting action.
-
START
public static final ApplicationActionEvent.EventType START
When action is started.
-
DONE
public static final ApplicationActionEvent.EventType DONE
When action end with succes.
-
FAIL
public static final ApplicationActionEvent.EventType FAIL
When action failed.
-
PROGRESSION_CHANGE
public static final ApplicationActionEvent.EventType PROGRESSION_CHANGE
When progression changed.
-
-
Method Detail
-
values
public static ApplicationActionEvent.EventType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ApplicationActionEvent.EventType c : ApplicationActionEvent.EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApplicationActionEvent.EventType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-