org.basex.gui
Enum GUIConstants.Msg

java.lang.Object
  extended by java.lang.Enum<GUIConstants.Msg>
      extended by org.basex.gui.GUIConstants.Msg
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GUIConstants.Msg>
Enclosing class:
GUIConstants

public static enum GUIConstants.Msg
extends java.lang.Enum<GUIConstants.Msg>

Icon type.


Enum Constant Summary
ERROR
          Error message.
QUESTION
          Question message.
SUCCESS
          Success message.
WARN
          Warning message.
YESNOCANCEL
          Yes/no/cancel message.
 
Field Summary
 javax.swing.Icon large
          Large icon.
 javax.swing.Icon small
          Small icon.
 
Method Summary
static GUIConstants.Msg valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GUIConstants.Msg[] 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

WARN

public static final GUIConstants.Msg WARN
Warning message.


ERROR

public static final GUIConstants.Msg ERROR
Error message.


SUCCESS

public static final GUIConstants.Msg SUCCESS
Success message.


QUESTION

public static final GUIConstants.Msg QUESTION
Question message.


YESNOCANCEL

public static final GUIConstants.Msg YESNOCANCEL
Yes/no/cancel message.

Field Detail

small

public final javax.swing.Icon small
Small icon.


large

public final javax.swing.Icon large
Large icon.

Method Detail

values

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

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

valueOf

public static GUIConstants.Msg 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