Enum DataTableFeatureKey
- java.lang.Object
-
- java.lang.Enum<DataTableFeatureKey>
-
- org.primefaces.component.datatable.feature.DataTableFeatureKey
-
- All Implemented Interfaces:
Serializable,Comparable<DataTableFeatureKey>
public enum DataTableFeatureKey extends Enum<DataTableFeatureKey>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_ROWCELL_EDITDRAGGABLE_COLUMNSDRAGGABLE_ROWSFILTERPAGERESIZABLE_COLUMNSROW_EDITROW_EXPANDSCROLLSELECTSORT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataTableFeatureKeyvalueOf(String name)Returns the enum constant of this type with the specified name.static DataTableFeatureKey[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAGE
public static final DataTableFeatureKey PAGE
-
SORT
public static final DataTableFeatureKey SORT
-
FILTER
public static final DataTableFeatureKey FILTER
-
RESIZABLE_COLUMNS
public static final DataTableFeatureKey RESIZABLE_COLUMNS
-
DRAGGABLE_COLUMNS
public static final DataTableFeatureKey DRAGGABLE_COLUMNS
-
ROW_EDIT
public static final DataTableFeatureKey ROW_EDIT
-
CELL_EDIT
public static final DataTableFeatureKey CELL_EDIT
-
ROW_EXPAND
public static final DataTableFeatureKey ROW_EXPAND
-
SCROLL
public static final DataTableFeatureKey SCROLL
-
SELECT
public static final DataTableFeatureKey SELECT
-
DRAGGABLE_ROWS
public static final DataTableFeatureKey DRAGGABLE_ROWS
-
ADD_ROW
public static final DataTableFeatureKey ADD_ROW
-
-
Method Detail
-
values
public static DataTableFeatureKey[] 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 (DataTableFeatureKey c : DataTableFeatureKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataTableFeatureKey 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
-
-