public enum OnErrorTypeEnum extends Enum<OnErrorTypeEnum> implements JREnum
Enum Constant and Description |
---|
BLANK
A constant used for specifying that the engine should display blank space if the image is not found.
|
ERROR
A constant used for specifying that the engine should raise an exception if the image is not found.
|
ICON
A constant used for specifying that the engine should display a replacement icon if the image is not found.
|
Modifier and Type | Method and Description |
---|---|
static OnErrorTypeEnum |
getByName(String name) |
static OnErrorTypeEnum |
getByValue(byte value)
Deprecated.
Used only by deprecated serialized fields.
|
static OnErrorTypeEnum |
getByValue(Byte value)
Deprecated.
Used only by deprecated serialized fields.
|
String |
getName() |
byte |
getValue()
Deprecated.
Used only by deprecated serialized fields.
|
Byte |
getValueByte()
Deprecated.
Used only by deprecated serialized fields.
|
static OnErrorTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OnErrorTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OnErrorTypeEnum ERROR
public static final OnErrorTypeEnum BLANK
public static final OnErrorTypeEnum ICON
public static OnErrorTypeEnum[] values()
for (OnErrorTypeEnum c : OnErrorTypeEnum.values()) System.out.println(c);
public static OnErrorTypeEnum 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 nullpublic Byte getValueByte()
getValueByte
in interface JREnum
public final byte getValue()
public static OnErrorTypeEnum getByName(String name)
public static OnErrorTypeEnum getByValue(Byte value)
public static OnErrorTypeEnum getByValue(byte value)
Copyright © 2017. All rights reserved.