public static enum DataGrid.ScrollDestination extends java.lang.Enum<DataGrid.ScrollDestination>
Enum Constant and Description |
---|
ANY
Scroll as little as possible to show the target element.
|
END
Scrolls so that the element is shown at the end of the viewport.
|
MIDDLE
Scrolls so that the element is shown in the middle of the viewport.
|
START
Scrolls so that the element is shown at the start of the viewport.
|
Modifier and Type | Method and Description |
---|---|
static DataGrid.ScrollDestination |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataGrid.ScrollDestination[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataGrid.ScrollDestination ANY
public static final DataGrid.ScrollDestination START
public static final DataGrid.ScrollDestination MIDDLE
public static final DataGrid.ScrollDestination END
public static DataGrid.ScrollDestination[] values()
for (DataGrid.ScrollDestination c : DataGrid.ScrollDestination.values()) System.out.println(c);
public static DataGrid.ScrollDestination 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