com.extjs.gxt.ui.client.widget
Enum MessageBox.MessageBoxType

java.lang.Object
  extended by java.lang.Enum<MessageBox.MessageBoxType>
      extended by com.extjs.gxt.ui.client.widget.MessageBox.MessageBoxType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MessageBox.MessageBoxType>
Enclosing class:
MessageBox

public static enum MessageBox.MessageBoxType
extends java.lang.Enum<MessageBox.MessageBoxType>

MessageBox type enumeration.


Enum Constant Summary
ALERT
           
CONFIRM
           
MULTIPROMPT
           
PROGRESSS
           
PROMPT
           
WAIT
           
 
Method Summary
static MessageBox.MessageBoxType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MessageBox.MessageBoxType[] 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

ALERT

public static final MessageBox.MessageBoxType ALERT

CONFIRM

public static final MessageBox.MessageBoxType CONFIRM

PROMPT

public static final MessageBox.MessageBoxType PROMPT

MULTIPROMPT

public static final MessageBox.MessageBoxType MULTIPROMPT

PROGRESSS

public static final MessageBox.MessageBoxType PROGRESSS

WAIT

public static final MessageBox.MessageBoxType WAIT
Method Detail

values

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

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

valueOf

public static MessageBox.MessageBoxType 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 name
java.lang.NullPointerException - if the argument is null