|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ColorMap>
de.desy.acop.video.displayer.ColorMap
public enum ColorMap
Color map enumeration. Using a memorization "cache", which stores previously computed lookup tables.
| Enum Constant Summary | |
|---|---|
GRAYSCALE
grayscale mode |
|
JET
MATLAB JET false color mode |
|
NONE
|
|
PITZ
PITZ false color mode |
|
| Method Summary | |
|---|---|
abstract java.awt.image.IndexColorModel |
createLUT(int bits)
Creates an indexed color model. Abstract method, have to be implemented for all enumerated values |
abstract java.awt.image.IndexColorModel |
getLUT(int bits)
Returns indexed color model using caching. Abstract method, have to be implemented for all enumerated values |
static ColorMap |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ColorMap[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ColorMap NONE
public static final ColorMap GRAYSCALE
public static final ColorMap PITZ
public static final ColorMap JET
| Method Detail |
|---|
public static ColorMap[] values()
for (ColorMap c : ColorMap.values()) System.out.println(c);
public static ColorMap 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 name
java.lang.NullPointerException - if the argument is nullpublic abstract java.awt.image.IndexColorModel createLUT(int bits)
bits - - the number of bits each pixel occupies
java.lang.IllegalArgumentException - - if bits is less than 1 or greater than 16public abstract java.awt.image.IndexColorModel getLUT(int bits)
bits - - bits per pixel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||