public static enum NIVision.PaletteType extends Enum<NIVision.PaletteType>
Enum Constant and Description |
---|
PALETTE_BINARY |
PALETTE_GRADIENT |
PALETTE_GRAY |
PALETTE_RAINBOW |
PALETTE_TEMPERATURE |
PALETTE_USER |
Modifier and Type | Method and Description |
---|---|
static NIVision.PaletteType |
fromValue(int val) |
int |
getValue() |
static NIVision.PaletteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NIVision.PaletteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NIVision.PaletteType PALETTE_GRAY
public static final NIVision.PaletteType PALETTE_BINARY
public static final NIVision.PaletteType PALETTE_GRADIENT
public static final NIVision.PaletteType PALETTE_RAINBOW
public static final NIVision.PaletteType PALETTE_TEMPERATURE
public static final NIVision.PaletteType PALETTE_USER
public static NIVision.PaletteType[] values()
for (NIVision.PaletteType c : NIVision.PaletteType.values()) System.out.println(c);
public static NIVision.PaletteType 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 NIVision.PaletteType fromValue(int val)
public int getValue()
Copyright © 2015. All rights reserved.