public enum PreviewFormats extends Enum<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 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 Bmp
Bitmap Picture Format.
public static final PreviewFormats Jpeg
Joint Photographic Experts Group Format.
public static final PreviewFormats Png
Portable Network Graphics Format.
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 nullpublic static PreviewFormats[] values()
for (PreviewFormats c : PreviewFormats.values()) System.out.println(c);
Copyright © 2025. All rights reserved.