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