Package FlaNium.WinAPI.elements.enums
Enum RowOrColumnMajor
- java.lang.Object
-
- java.lang.Enum<RowOrColumnMajor>
-
- FlaNium.WinAPI.elements.enums.RowOrColumnMajor
-
- All Implemented Interfaces:
Serializable,Comparable<RowOrColumnMajor>
public enum RowOrColumnMajor extends Enum<RowOrColumnMajor>
Contains values that specify whether data in a table should be read primarily by row or by column.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLUMN_MAJORData in the table should be read column by column.INDETERMINATEThe best way to present the data is indeterminate.ROW_MAJORData in the table should be read row by row.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RowOrColumnMajorgetEnum(String value)static RowOrColumnMajorvalueOf(String name)Returns the enum constant of this type with the specified name.static RowOrColumnMajor[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROW_MAJOR
public static final RowOrColumnMajor ROW_MAJOR
Data in the table should be read row by row.
-
COLUMN_MAJOR
public static final RowOrColumnMajor COLUMN_MAJOR
Data in the table should be read column by column.
-
INDETERMINATE
public static final RowOrColumnMajor INDETERMINATE
The best way to present the data is indeterminate.
-
-
Method Detail
-
values
public static RowOrColumnMajor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RowOrColumnMajor c : RowOrColumnMajor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RowOrColumnMajor valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getEnum
public static RowOrColumnMajor getEnum(String value)
-
-