public enum BMPCompressionMode extends java.lang.Enum<BMPCompressionMode>
This enumeration represents the BMP compression mode.
Modifier and Type | Method and Description |
---|---|
static BMPCompressionMode |
fromInteger(int value)
Converts an integer to a BMPCompressionMode.
|
int |
value()
Gets the enumaration object value.
|
static BMPCompressionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BMPCompressionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BMPCompressionMode NONE
public static final BMPCompressionMode RLE
public static BMPCompressionMode[] values()
for (BMPCompressionMode c : BMPCompressionMode.values()) System.out.println(c);
public static BMPCompressionMode 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 value()
Gets the enumaration object value.
public static BMPCompressionMode fromInteger(int value)
Converts an integer to a BMPCompressionMode.
value
-