plugins.adufour.ezplug
Enum EzMessage.MessageType

java.lang.Object
  extended by java.lang.Enum<EzMessage.MessageType>
      extended by plugins.adufour.ezplug.EzMessage.MessageType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EzMessage.MessageType>
Enclosing class:
EzMessage

Deprecated.

public static enum EzMessage.MessageType
extends java.lang.Enum<EzMessage.MessageType>

Enumerates the different types of messages which may be sent

Author:
Alexandre Dufour

Enum Constant Summary
DEFAULT
          Deprecated. A default message, nothing special about it.
ERROR
          Deprecated. An error message, will be tagged "Error" and use an error icon if dialog output is chosen.
INFORMATION
          Deprecated. An error message, will be tagged "Information" and use an information icon if dialog output is chosen.
WARNING
          Deprecated. An error message, will be tagged "Warning" and use a warning icon if dialog output is chosen.
 
Method Summary
static EzMessage.MessageType valueOf(java.lang.String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static EzMessage.MessageType[] values()
          Deprecated. 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

DEFAULT

public static final EzMessage.MessageType DEFAULT
Deprecated. 
A default message, nothing special about it.


ERROR

public static final EzMessage.MessageType ERROR
Deprecated. 
An error message, will be tagged "Error" and use an error icon if dialog output is chosen.


INFORMATION

public static final EzMessage.MessageType INFORMATION
Deprecated. 
An error message, will be tagged "Information" and use an information icon if dialog output is chosen.


WARNING

public static final EzMessage.MessageType WARNING
Deprecated. 
An error message, will be tagged "Warning" and use a warning icon if dialog output is chosen.

Method Detail

values

public static EzMessage.MessageType[] values()
Deprecated. 
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 (EzMessage.MessageType c : EzMessage.MessageType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EzMessage.MessageType valueOf(java.lang.String name)
Deprecated. 
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 name
java.lang.NullPointerException - if the argument is null