public enum PixelType extends 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(String value) |
String |
getValue() |
String |
toString() |
static PixelType |
valueOf(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(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 PixelType fromString(String value) throws EnumerationException
EnumerationException
public String getValue()
Copyright © 2014 Open Microscopy Environment