public enum BmpCompression extends java.lang.Enum<BmpCompression>
Enum Constant and Description |
---|
BI_BITFIELDS |
BI_RGB |
BI_RLE4 |
BI_RLE8 |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static BmpCompression |
fromInt(int value) |
java.lang.String |
getDescription() |
int |
getValue() |
java.lang.String |
toString() |
static BmpCompression |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BmpCompression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BmpCompression BI_RGB
public static final BmpCompression BI_RLE8
public static final BmpCompression BI_RLE4
public static final BmpCompression BI_BITFIELDS
public static final BmpCompression UNKNOWN
public static BmpCompression[] values()
for (BmpCompression c : BmpCompression.values()) System.out.println(c);
public static BmpCompression 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 java.lang.String getDescription()
public int getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<BmpCompression>
public static BmpCompression fromInt(int value)