public enum RenderFormat extends java.lang.Enum<RenderFormat>
Enum Constant and Description |
---|
BMP
Bitmap format.
|
GIF
GIF format.
|
JPEG
JPEG format.
|
PNG
PNG format.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static RenderFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RenderFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderFormat JPEG
public static final RenderFormat GIF
public static final RenderFormat BMP
public static final RenderFormat PNG
public static RenderFormat[] values()
for (RenderFormat c : RenderFormat.values()) System.out.println(c);
public static RenderFormat 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 int getValue()