com.im.commons 5.9

com.im.commons.progress
Enum DFFeedback.Type

java.lang.Object
  extended by java.lang.Enum<DFFeedback.Type>
      extended by com.im.commons.progress.DFFeedback.Type
All Implemented Interfaces:
Serializable, Comparable<DFFeedback.Type>
Enclosing interface:
DFFeedback

public static enum DFFeedback.Type
extends Enum<DFFeedback.Type>

Types of messages to be used in DFFeedback


Enum Constant Summary
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
static DFFeedback.Type valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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(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 name
NullPointerException - if the argument is null

com.im.commons 5.9