public static enum UIUtils.MessageDialogType extends Enum<UIUtils.MessageDialogType>
Enum Constant and Description |
---|
ERROR_MESSAGE
Used for error messages.
|
INFORMATION_MESSAGE
Used for information messages.
|
PLAIN_MESSAGE
No icon is used.
|
QUESTION_MESSAGE
Used for questions.
|
WARNING_MESSAGE
Used for warning messages.
|
Modifier and Type | Method and Description |
---|---|
int |
getTypeValue()
Returns the
int representation of the message type. |
static UIUtils.MessageDialogType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UIUtils.MessageDialogType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UIUtils.MessageDialogType ERROR_MESSAGE
public static final UIUtils.MessageDialogType INFORMATION_MESSAGE
public static final UIUtils.MessageDialogType WARNING_MESSAGE
public static final UIUtils.MessageDialogType QUESTION_MESSAGE
public static final UIUtils.MessageDialogType PLAIN_MESSAGE
public static UIUtils.MessageDialogType[] values()
for (UIUtils.MessageDialogType c : UIUtils.MessageDialogType.values()) System.out.println(c);
public static UIUtils.MessageDialogType 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 getTypeValue()
int
representation of the message type.int
representation of the message type.Copyright © 2003–2021 XDEV Software. All rights reserved.