static enum SignatureDriverWidget.ImageFileFormat extends java.lang.Enum<SignatureDriverWidget.ImageFileFormat>
Enum Constant and Description |
---|
CompressedBMP |
CompressedTIF |
EMF |
JPG_Q100 |
JPG_Q20 |
MonoBMP |
PNG |
TIF |
TIF_I |
UncompressedBMP |
UncompressedTIF |
WMF |
Modifier and Type | Field and Description |
---|---|
private int |
code |
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Gets the image file format code.
|
static int |
getImageType(SignatureDriverWidget.ImageFileFormat value)
Gets an image encoding.
|
static SignatureDriverWidget.ImageFileFormat |
valueOf(int code)
Gets the corresponding enum value if the image file format code is given.
|
static SignatureDriverWidget.ImageFileFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SignatureDriverWidget.ImageFileFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignatureDriverWidget.ImageFileFormat CompressedBMP
public static final SignatureDriverWidget.ImageFileFormat UncompressedBMP
public static final SignatureDriverWidget.ImageFileFormat MonoBMP
public static final SignatureDriverWidget.ImageFileFormat JPG_Q20
public static final SignatureDriverWidget.ImageFileFormat JPG_Q100
public static final SignatureDriverWidget.ImageFileFormat UncompressedTIF
public static final SignatureDriverWidget.ImageFileFormat CompressedTIF
public static final SignatureDriverWidget.ImageFileFormat WMF
public static final SignatureDriverWidget.ImageFileFormat EMF
public static final SignatureDriverWidget.ImageFileFormat TIF
public static final SignatureDriverWidget.ImageFileFormat TIF_I
public static final SignatureDriverWidget.ImageFileFormat PNG
public static SignatureDriverWidget.ImageFileFormat[] values()
for (SignatureDriverWidget.ImageFileFormat c : SignatureDriverWidget.ImageFileFormat.values()) System.out.println(c);
public static SignatureDriverWidget.ImageFileFormat 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 getCode()
public static SignatureDriverWidget.ImageFileFormat valueOf(int code)
code
- The image file format codepublic static int getImageType(SignatureDriverWidget.ImageFileFormat value)
value
- The image file format