public static enum PreviewOptions.PreviewFormats extends Enum<PreviewOptions.PreviewFormats>
Represents supported preview formats.
Enum Constant and Description |
---|
BMP
Bitmap Picture Format.
|
JPEG
Joint Photographic Experts Group Format.
|
PNG
Portable Network Graphics Format.
|
Modifier and Type | Method and Description |
---|---|
static PreviewOptions.PreviewFormats |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreviewOptions.PreviewFormats[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreviewOptions.PreviewFormats PNG
Portable Network Graphics Format.
public static final PreviewOptions.PreviewFormats JPEG
Joint Photographic Experts Group Format.
public static final PreviewOptions.PreviewFormats BMP
Bitmap Picture Format.
public static PreviewOptions.PreviewFormats[] values()
for (PreviewOptions.PreviewFormats c : PreviewOptions.PreviewFormats.values()) System.out.println(c);
public static PreviewOptions.PreviewFormats 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 null