public static enum NIVision.ContrastMode extends java.lang.Enum<NIVision.ContrastMode>
| Enum Constant and Description |
|---|
BOTH_CONTRASTS |
ORIGINAL_CONTRAST |
REVERSED_CONTRAST |
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static NIVision.ContrastMode |
fromValue(int val) |
int |
getValue() |
static NIVision.ContrastMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NIVision.ContrastMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NIVision.ContrastMode ORIGINAL_CONTRAST
public static final NIVision.ContrastMode REVERSED_CONTRAST
public static final NIVision.ContrastMode BOTH_CONTRASTS
public static NIVision.ContrastMode[] values()
for (NIVision.ContrastMode c : NIVision.ContrastMode.values()) System.out.println(c);
public static NIVision.ContrastMode 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 NIVision.ContrastMode fromValue(int val)
public int getValue()