public static enum DataGrid.ColumnResizeMode extends java.lang.Enum<DataGrid.ColumnResizeMode>
Enum Constant and Description |
---|
ANIMATED
When column resize mode is set to Animated, columns
are resized as they are dragged.
|
SIMPLE
When column resize mode is set to Simple, dragging to resize
a column will show a marker, and the column will resize only
after the mouse button or touch is released.
|
Modifier and Type | Method and Description |
---|---|
static DataGrid.ColumnResizeMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataGrid.ColumnResizeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataGrid.ColumnResizeMode ANIMATED
public static final DataGrid.ColumnResizeMode SIMPLE
public static DataGrid.ColumnResizeMode[] values()
for (DataGrid.ColumnResizeMode c : DataGrid.ColumnResizeMode.values()) System.out.println(c);
public static DataGrid.ColumnResizeMode 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 null