Enum Mode
- java.lang.Object
-
- java.lang.Enum<Mode>
-
- org.eclipse.nebula.widgets.nattable.ui.mode.Mode
-
- All Implemented Interfaces:
Serializable
,Comparable<Mode>
public enum Mode extends Enum<Mode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLUMN_GROUP_MODE
COLUMN_HEADER_MODE
COLUMN_REORDER_MODE
COLUMN_RESIZE_MODE
COLUMN_SORT_MODE
MOUSE_SELECTION_MODE
NORMAL_MODE
ROW_RESIZE_MODE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Mode
valueOf(String name)
Returns the enum constant of this type with the specified name.static Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL_MODE
public static final Mode NORMAL_MODE
-
COLUMN_RESIZE_MODE
public static final Mode COLUMN_RESIZE_MODE
-
COLUMN_SORT_MODE
public static final Mode COLUMN_SORT_MODE
-
COLUMN_REORDER_MODE
public static final Mode COLUMN_REORDER_MODE
-
COLUMN_HEADER_MODE
public static final Mode COLUMN_HEADER_MODE
-
COLUMN_GROUP_MODE
public static final Mode COLUMN_GROUP_MODE
-
ROW_RESIZE_MODE
public static final Mode ROW_RESIZE_MODE
-
MOUSE_SELECTION_MODE
public static final Mode MOUSE_SELECTION_MODE
-
-
Method Detail
-
values
public static Mode[] 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 (Mode c : Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Mode 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
-
-