public enum PixelType extends java.lang.Enum<PixelType> implements Enumeration
Enum Constant and Description |
---|
BIT |
COMPLEX |
DOUBLE |
DOUBLECOMPLEX |
FLOAT |
INT16 |
INT32 |
INT8 |
UINT16 |
UINT32 |
UINT8 |
Modifier and Type | Method and Description |
---|---|
static PixelType |
fromString(java.lang.String value) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static PixelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PixelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PixelType INT8
public static final PixelType INT16
public static final PixelType INT32
public static final PixelType UINT8
public static final PixelType UINT16
public static final PixelType UINT32
public static final PixelType FLOAT
public static final PixelType BIT
public static final PixelType DOUBLE
public static final PixelType COMPLEX
public static final PixelType DOUBLECOMPLEX
public static PixelType[] values()
for (PixelType c : PixelType.values()) System.out.println(c);
public static PixelType 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 static PixelType fromString(java.lang.String value) throws EnumerationException
EnumerationException
public java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<PixelType>
Copyright © 2014 Open Microscopy Environment