public static enum MarvinErrorHandler.TYPE extends java.lang.Enum<MarvinErrorHandler.TYPE>
Enum Constant and Description |
---|
BAD_FILE |
ERROR_FILE_CHOOSE |
ERROR_FILE_NOT_FOUND |
ERROR_FILE_OPEN |
ERROR_FILE_SAVE |
ERROR_PLUGIN_NOT_FOUND |
IMAGE_RELOAD |
NO_IMAGE_LOADED |
Modifier and Type | Method and Description |
---|---|
static MarvinErrorHandler.TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MarvinErrorHandler.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MarvinErrorHandler.TYPE BAD_FILE
public static final MarvinErrorHandler.TYPE ERROR_FILE_OPEN
public static final MarvinErrorHandler.TYPE ERROR_FILE_SAVE
public static final MarvinErrorHandler.TYPE ERROR_FILE_CHOOSE
public static final MarvinErrorHandler.TYPE ERROR_FILE_NOT_FOUND
public static final MarvinErrorHandler.TYPE NO_IMAGE_LOADED
public static final MarvinErrorHandler.TYPE IMAGE_RELOAD
public static final MarvinErrorHandler.TYPE ERROR_PLUGIN_NOT_FOUND
public static MarvinErrorHandler.TYPE[] values()
for (MarvinErrorHandler.TYPE c : MarvinErrorHandler.TYPE.values()) System.out.println(c);
public static MarvinErrorHandler.TYPE 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