Package adams.flow.transformer.draw
Enum Pixel.PixelValueType
- java.lang.Object
-
- java.lang.Enum<Pixel.PixelValueType>
-
- adams.flow.transformer.draw.Pixel.PixelValueType
-
- All Implemented Interfaces:
Serializable
,Comparable<Pixel.PixelValueType>
- Enclosing class:
- Pixel
public static enum Pixel.PixelValueType extends Enum<Pixel.PixelValueType>
Enumeration that determines what value to use for the pixel.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Pixel.PixelValueType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Pixel.PixelValueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RGBA
public static final Pixel.PixelValueType RGBA
uses the RGBA value.
-
COLOR
public static final Pixel.PixelValueType COLOR
uses the Color value.
-
-
Method Detail
-
values
public static Pixel.PixelValueType[] 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 (Pixel.PixelValueType c : Pixel.PixelValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Pixel.PixelValueType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-