|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ImageTypeEnum>
net.sf.jasperreports.engine.type.ImageTypeEnum
public enum ImageTypeEnum
| Enum Constant Summary | |
|---|---|
GIF
Specifies that the image is of GIF type. |
|
JPEG
Specifies that the image is of JPEG type. |
|
PNG
Specifies that the image is of PNG type. |
|
TIFF
Specifies that the image is of TIFF type. |
|
UNKNOWN
Specifies that the image is of unknown type. |
|
| Method Summary | |
|---|---|
static ImageTypeEnum |
getByName(String name)
|
static ImageTypeEnum |
getByValue(byte value)
|
static ImageTypeEnum |
getByValue(Byte value)
|
String |
getMimeType()
|
String |
getName()
|
byte |
getValue()
|
Byte |
getValueByte()
|
static ImageTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ImageTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ImageTypeEnum UNKNOWN
public static final ImageTypeEnum GIF
public static final ImageTypeEnum JPEG
public static final ImageTypeEnum PNG
public static final ImageTypeEnum TIFF
| Method Detail |
|---|
public static ImageTypeEnum[] values()
for (ImageTypeEnum c : ImageTypeEnum.values()) System.out.println(c);
public static ImageTypeEnum valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic Byte getValueByte()
getValueByte in interface JREnumpublic final byte getValue()
getValue in interface JREnumpublic String getName()
getName in interface JREnumpublic String getMimeType()
public static ImageTypeEnum getByName(String name)
public static ImageTypeEnum getByValue(Byte value)
public static ImageTypeEnum getByValue(byte value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||