public enum JPEG2000BoxType extends Enum<JPEG2000BoxType> implements CodedEnum
Modifier and Type | Method and Description |
---|---|
static JPEG2000BoxType |
get(int code)
Retrieves the box type by reverse lookup of its "code".
|
int |
getCode()
Implemented as specified by the
CodedEnum I/F. |
String |
getName()
Returns the name of the box type.
|
static JPEG2000BoxType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JPEG2000BoxType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JPEG2000BoxType SIGNATURE
public static final JPEG2000BoxType SIGNATURE_WRONG_ENDIANNESS
public static final JPEG2000BoxType FILE
public static final JPEG2000BoxType HEADER
public static final JPEG2000BoxType IMAGE_HEADER
public static final JPEG2000BoxType BITS_PER_COMPONENT
public static final JPEG2000BoxType COLOUR_SPECIFICATION
public static final JPEG2000BoxType PALETTE
public static final JPEG2000BoxType COMPONENT_MAPPING
public static final JPEG2000BoxType CHANNEL_DEFINITION
public static final JPEG2000BoxType RESOLUTION
public static final JPEG2000BoxType CAPTURE_RESOLUTION
public static final JPEG2000BoxType DEFAULT_DISPLAY_RESOLUTION
public static final JPEG2000BoxType CONTIGUOUS_CODESTREAM
public static final JPEG2000BoxType INTELLECTUAL_PROPERTY
public static final JPEG2000BoxType XML
public static final JPEG2000BoxType UUID
public static final JPEG2000BoxType UUID_INFO
public static final JPEG2000BoxType UUID_LIST
public static final JPEG2000BoxType URL
public static final JPEG2000BoxType ASSOCIATION
public static final JPEG2000BoxType LABEL
public static final JPEG2000BoxType PLACEHOLDER
public static JPEG2000BoxType[] values()
for (JPEG2000BoxType c : JPEG2000BoxType.values()) System.out.println(c);
public static JPEG2000BoxType 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 static JPEG2000BoxType get(int code)
code
- The code to look up.JPEG2000BoxType
instance for the
code
or null
if it does not exist.public int getCode()
CodedEnum
I/F.getCode
in interface CodedEnum
CodedEnum.getCode()
public String getName()
Copyright © 2014 Open Microscopy Environment