public enum MessageLoopType extends Enum<MessageLoopType>
| Enum Constant and Description | 
|---|
AUTO_DETECT
The type of message loop will be automatically detected, if possible. 
 | 
AWT
An AWT message loop, using the AWT event dispatching thread (EDT). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static MessageLoopType | 
getDefault()
Get the enum constant that is considered to be the default. 
 | 
static MessageLoopType | 
getFromValue(int value)
Get the enum constant that is associated with the given numeric value. 
 | 
int | 
getValue()
Get the numeric value associated with this enum constant. 
 | 
static MessageLoopType | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static MessageLoopType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final MessageLoopType AUTO_DETECT
public static final MessageLoopType AWT
public static MessageLoopType[] values()
for (MessageLoopType c : MessageLoopType.values()) System.out.println(c);
public static MessageLoopType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
public static MessageLoopType getFromValue(int value)
value - a numeric value.public static MessageLoopType getDefault()