Package ome.codecs
Enum Class JPEG2000BoxType
- All Implemented Interfaces:
Serializable,Comparable<JPEG2000BoxType>,Constable,loci.common.enumeration.CodedEnum
public enum JPEG2000BoxType
extends Enum<JPEG2000BoxType>
implements loci.common.enumeration.CodedEnum
An enumeration of JPEG 2000 box types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic JPEG2000BoxTypeget(int code) Retrieves the box type by reverse lookup of its "code".intgetCode()Implemented as specified by theCodedEnumI/F.getName()Returns the name of the box type.static JPEG2000BoxTypeReturns the enum constant of this class with the specified name.static JPEG2000BoxType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SIGNATURE
-
SIGNATURE_WRONG_ENDIANNESS
-
FILE
-
HEADER
-
IMAGE_HEADER
-
BITS_PER_COMPONENT
-
COLOUR_SPECIFICATION
-
PALETTE
-
COMPONENT_MAPPING
-
CHANNEL_DEFINITION
-
RESOLUTION
-
CAPTURE_RESOLUTION
-
DEFAULT_DISPLAY_RESOLUTION
-
CONTIGUOUS_CODESTREAM
-
INTELLECTUAL_PROPERTY
-
XML
-
UUID
-
UUID_INFO
-
UUID_LIST
-
URL
-
ASSOCIATION
-
LABEL
-
PLACEHOLDER
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
get
Retrieves the box type by reverse lookup of its "code".- Parameters:
code- The code to look up.- Returns:
- The
JPEG2000BoxTypeinstance for thecodeornullif it does not exist.
-
getCode
public int getCode()Implemented as specified by theCodedEnumI/F.- Specified by:
getCodein interfaceloci.common.enumeration.CodedEnum- See Also:
-
CodedEnum.getCode()
-
getName
Returns the name of the box type.- Returns:
- See above.
-