public static enum MatrixSettings.Direction extends java.lang.Enum<MatrixSettings.Direction>
| Enum Constant and Description |
|---|
BOTH |
COLUMN_TO_ROW |
ROW_TO_COLUMN |
| Modifier and Type | Method and Description |
|---|---|
static MatrixSettings.Direction |
getDirectionFromEnum(java.lang.Object direction)
Converts enumeration literal to enum value
|
static MatrixSettings.Direction |
getEnum(java.lang.String type)
finds direction by its representation type
|
java.lang.String |
getType()
Returns representation type for this enum value
|
MatrixSettings.Direction |
invert()
Gets inverted direction or the sam for BOTH.
|
static MatrixSettings.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MatrixSettings.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatrixSettings.Direction ROW_TO_COLUMN
public static final MatrixSettings.Direction COLUMN_TO_ROW
public static final MatrixSettings.Direction BOTH
public static MatrixSettings.Direction[] values()
for (MatrixSettings.Direction c : MatrixSettings.Direction.values()) System.out.println(c);
public static MatrixSettings.Direction 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 MatrixSettings.Direction getDirectionFromEnum(@CheckForNull java.lang.Object direction)
direction - enumeration literal objectpublic java.lang.String getType()
public static MatrixSettings.Direction getEnum(java.lang.String type)
type - representation typepublic MatrixSettings.Direction invert()