public static enum DialogPrompt.OptionType extends Enum<DialogPrompt.OptionType>
Enum Constant and Description |
---|
DEFAULT_OPTION |
OK_CANCEL_OPTION |
YES_NO_CANCEL_OPTION |
YES_NO_OPTION |
Modifier and Type | Method and Description |
---|---|
static DialogPrompt.OptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DialogPrompt.OptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DialogPrompt.OptionType DEFAULT_OPTION
public static final DialogPrompt.OptionType YES_NO_OPTION
public static final DialogPrompt.OptionType YES_NO_CANCEL_OPTION
public static final DialogPrompt.OptionType OK_CANCEL_OPTION
public static DialogPrompt.OptionType[] values()
for (DialogPrompt.OptionType c : DialogPrompt.OptionType.values()) System.out.println(c);
public static DialogPrompt.OptionType 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.