tgaimageplugin
Enum TGAHeader.ImageType
java.lang.Object
java.lang.Enum<TGAHeader.ImageType>
tgaimageplugin.TGAHeader.ImageType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TGAHeader.ImageType>
- Enclosing class:
- TGAHeader
public static enum TGAHeader.ImageType
- extends java.lang.Enum<TGAHeader.ImageType>
Method Summary |
int |
code()
|
static TGAHeader.ImageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TGAHeader.ImageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NO_IMAGE_DATA
public static final TGAHeader.ImageType NO_IMAGE_DATA
UNCOMPRESSED_COLOR_MAPPED
public static final TGAHeader.ImageType UNCOMPRESSED_COLOR_MAPPED
UNCOMPRESSED_TRUE_COLOR
public static final TGAHeader.ImageType UNCOMPRESSED_TRUE_COLOR
UNCOMPRESSED_BLACK_AND_WHITE
public static final TGAHeader.ImageType UNCOMPRESSED_BLACK_AND_WHITE
RUNLENGTH_COLOR_MAPPED
public static final TGAHeader.ImageType RUNLENGTH_COLOR_MAPPED
RUNLENGTH_TRUE_COLOR
public static final TGAHeader.ImageType RUNLENGTH_TRUE_COLOR
RUNLENGTH_BLACK_AND_WHITE
public static final TGAHeader.ImageType RUNLENGTH_BLACK_AND_WHITE
values
public static TGAHeader.ImageType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TGAHeader.ImageType c : TGAHeader.ImageType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TGAHeader.ImageType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
code
public int code()