public enum MessageBoxStyle extends java.lang.Enum<MessageBoxStyle>
| Enum Constant and Description |
|---|
BUTTON_OK
Show Ok button.
|
BUTTON_OK_CANCEL
Show Ok and Cancel button.
|
BUTTON_YES_NO
Show Yes and No button.
|
BUTTON_YES_NO_CANCEL
Show Yes, No and Cancel button.
|
ICON_ERROR
Show error icon.
|
ICON_INFO
Show info icon.
|
ICON_QUESTION
Show question icon.
|
ICON_WARNING
Show warning icon.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageBoxStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageBoxStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageBoxStyle ICON_INFO
public static final MessageBoxStyle ICON_WARNING
public static final MessageBoxStyle ICON_ERROR
public static final MessageBoxStyle ICON_QUESTION
public static final MessageBoxStyle BUTTON_OK
public static final MessageBoxStyle BUTTON_OK_CANCEL
public static final MessageBoxStyle BUTTON_YES_NO
public static final MessageBoxStyle BUTTON_YES_NO_CANCEL
public static MessageBoxStyle[] values()
for (MessageBoxStyle c : MessageBoxStyle.values()) System.out.println(c);
public static MessageBoxStyle valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null