Serializable, Comparable<PreviewOptions.FormatEnum>public static enum PreviewOptions.FormatEnum extends Enum<PreviewOptions.FormatEnum>
| Modifier and Type | Class | Description |
|---|---|---|
static class |
PreviewOptions.FormatEnum.Adapter |
| Modifier and Type | Method | Description |
|---|---|---|
static PreviewOptions.FormatEnum |
fromValue(String text) |
|
String |
getValue() |
|
String |
toString() |
|
static PreviewOptions.FormatEnum |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static PreviewOptions.FormatEnum[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreviewOptions.FormatEnum JPEG
public static final PreviewOptions.FormatEnum PNG
public static final PreviewOptions.FormatEnum BMP
public static PreviewOptions.FormatEnum[] values()
for (PreviewOptions.FormatEnum c : PreviewOptions.FormatEnum.values()) System.out.println(c);
public static PreviewOptions.FormatEnum 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 String getValue()
public String toString()
toString in class Enum<PreviewOptions.FormatEnum>public static PreviewOptions.FormatEnum fromValue(String text)
Copyright © 2025. All rights reserved.