public enum PreviewFormats extends Enum<PreviewFormats>
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 PreviewFormats |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreviewFormats[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreviewFormats Png
public static final PreviewFormats Jpeg
public static final PreviewFormats Bmp
public static PreviewFormats[] values()
for (PreviewFormats c : PreviewFormats.values()) System.out.println(c);
public static 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