Package com.im.ijcs.api.feedback
Enum DFFeedbackEvent.FeedbackMethod
- java.lang.Object
-
- java.lang.Enum<DFFeedbackEvent.FeedbackMethod>
-
- com.im.ijcs.api.feedback.DFFeedbackEvent.FeedbackMethod
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DFFeedbackEvent.FeedbackMethod>
- Enclosing class:
- DFFeedbackEvent
public static enum DFFeedbackEvent.FeedbackMethod extends java.lang.Enum<DFFeedbackEvent.FeedbackMethod>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description addMessage
finish
progress
switchToDeterminate
switchToIndeterminate
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DFFeedbackEvent.FeedbackMethod
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DFFeedbackEvent.FeedbackMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
finish
public static final DFFeedbackEvent.FeedbackMethod finish
-
addMessage
public static final DFFeedbackEvent.FeedbackMethod addMessage
-
progress
public static final DFFeedbackEvent.FeedbackMethod progress
-
switchToDeterminate
public static final DFFeedbackEvent.FeedbackMethod switchToDeterminate
-
switchToIndeterminate
public static final DFFeedbackEvent.FeedbackMethod switchToIndeterminate
-
-
Method Detail
-
values
public static DFFeedbackEvent.FeedbackMethod[] 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 (DFFeedbackEvent.FeedbackMethod c : DFFeedbackEvent.FeedbackMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DFFeedbackEvent.FeedbackMethod valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-