Package com.im.commons.progress
Enum DFFeedback.Type
- java.lang.Object
-
- java.lang.Enum<DFFeedback.Type>
-
- com.im.commons.progress.DFFeedback.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DFFeedback.Type>
- Enclosing interface:
- DFFeedback
public static enum DFFeedback.Type extends java.lang.Enum<DFFeedback.Type>
Types of messages to be used in DFFeedback.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
This is usually printed as error message in Output panel (usually red font).INFO
This is usually printed as standard message in Output panel.PROGRESS_MESSAGE
Message which appears in progress detail.PROGRESS_NAME
This code is used for renaming whole progress handle.STATUS_BAR_MESSAGE
This message is usually printed in global status bar of IJC.WARNING
This is usually printed as warning message in Output panel.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DFFeedback.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DFFeedback.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROGRESS_MESSAGE
public static final DFFeedback.Type PROGRESS_MESSAGE
Message which appears in progress detail.
-
PROGRESS_NAME
public static final DFFeedback.Type PROGRESS_NAME
This code is used for renaming whole progress handle. Do not use it too often otherwise user will be confused.
-
INFO
public static final DFFeedback.Type INFO
This is usually printed as standard message in Output panel.
-
WARNING
public static final DFFeedback.Type WARNING
This is usually printed as warning message in Output panel.
-
ERROR
public static final DFFeedback.Type ERROR
This is usually printed as error message in Output panel (usually red font).
-
STATUS_BAR_MESSAGE
public static final DFFeedback.Type STATUS_BAR_MESSAGE
This message is usually printed in global status bar of IJC.
-
-
Method Detail
-
values
public static DFFeedback.Type[] 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 (DFFeedback.Type c : DFFeedback.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DFFeedback.Type 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
-
-