public static enum MarkovFileOpenDialog.ResultTypes extends java.lang.Enum<MarkovFileOpenDialog.ResultTypes>
Enum Constant and Description |
---|
CANCEL
The user hit cancel
|
CLOSE
The user closed the dialog hitting the (X)
|
OK
The user hit OK
|
Modifier and Type | Method and Description |
---|---|
static MarkovFileOpenDialog.ResultTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MarkovFileOpenDialog.ResultTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MarkovFileOpenDialog.ResultTypes OK
public static final MarkovFileOpenDialog.ResultTypes CANCEL
public static final MarkovFileOpenDialog.ResultTypes CLOSE
public static MarkovFileOpenDialog.ResultTypes[] values()
for (MarkovFileOpenDialog.ResultTypes c : MarkovFileOpenDialog.ResultTypes.values()) System.out.println(c);
public static MarkovFileOpenDialog.ResultTypes 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