public static enum DialogPrompt.MessageType extends Enum<DialogPrompt.MessageType>
Enum Constant and Description |
---|
ERROR_MESSAGE |
INFORMATION_MESSAGE |
PLAIN_MESSAGE |
QUESTION_MESSAGE |
WARNING_MESSAGE |
Modifier and Type | Method and Description |
---|---|
static DialogPrompt.MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DialogPrompt.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DialogPrompt.MessageType ERROR_MESSAGE
public static final DialogPrompt.MessageType INFORMATION_MESSAGE
public static final DialogPrompt.MessageType WARNING_MESSAGE
public static final DialogPrompt.MessageType QUESTION_MESSAGE
public static final DialogPrompt.MessageType PLAIN_MESSAGE
public static DialogPrompt.MessageType[] values()
for (DialogPrompt.MessageType c : DialogPrompt.MessageType.values()) System.out.println(c);
public static DialogPrompt.MessageType 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 nullCopyright © 2015–2022 SciJava. All rights reserved.