public static enum NIVision.ContrastMode extends Enum<NIVision.ContrastMode>
Enum Constant and Description |
---|
BOTH_CONTRASTS |
ORIGINAL_CONTRAST |
REVERSED_CONTRAST |
Modifier and Type | Method and Description |
---|---|
static NIVision.ContrastMode |
fromValue(int val) |
int |
getValue() |
static NIVision.ContrastMode |
valueOf(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(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.ContrastMode fromValue(int val)
public int getValue()
Copyright © 2015. All rights reserved.