private static enum ColorCorrector.Corner extends Enum<ColorCorrector.Corner>
+--------+--------+--------+ | | | | | UPPER | | UPPER | | LEFT | | RIGHT | | | | | +--------+--------+--------+ | | | | | | | | | | | | | | | | +--------+--------+--------+ | | | | | LOWER | | LOWER | | LEFT | | RIGHT | | | | | +--------+--------+--------+
Enum Constant and Description |
---|
LOWER_LEFT |
LOWER_RIGHT |
UPPER_LEFT |
UPPER_RIGHT |
Modifier and Type | Field and Description |
---|---|
private int |
col |
private int |
row |
private int |
value |
Modifier and Type | Method and Description |
---|---|
int |
getCol() |
int |
getRow() |
int |
getValue() |
static ColorCorrector.Corner |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorCorrector.Corner[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorCorrector.Corner UPPER_LEFT
public static final ColorCorrector.Corner UPPER_RIGHT
public static final ColorCorrector.Corner LOWER_LEFT
public static final ColorCorrector.Corner LOWER_RIGHT
public static ColorCorrector.Corner[] values()
for (ColorCorrector.Corner c : ColorCorrector.Corner.values()) System.out.println(c);
public static ColorCorrector.Corner 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 int getValue()
public int getRow()
public int getCol()