net.sf.jasperreports.engine.type
public enum OnErrorTypeEnum extends java.lang.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(java.lang.String name) |
static OnErrorTypeEnum |
getByValue(byte value) |
static OnErrorTypeEnum |
getByValue(java.lang.Byte value) |
java.lang.String |
getName() |
byte |
getValue() |
java.lang.Byte |
getValueByte() |
static OnErrorTypeEnum |
valueOf(java.lang.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(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 nullpublic java.lang.Byte getValueByte()
getValueByte
in interface JREnum
public static OnErrorTypeEnum getByName(java.lang.String name)
public static OnErrorTypeEnum getByValue(java.lang.Byte value)
public static OnErrorTypeEnum getByValue(byte value)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com