public enum DropMode extends Enum<DropMode>
Enum Constant and Description |
---|
BETWEEN
The drop event can happen between Grid rows.
|
ON_GRID
The drop event will not happen on any specific row, it will show the drop
target outline around the whole grid.
|
ON_TOP
The drop event can happen on top of Grid rows.
|
ON_TOP_OR_BETWEEN
The drop event can happen either on top of or between Grid rows.
|
Modifier and Type | Method and Description |
---|---|
static DropMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DropMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DropMode BETWEEN
public static final DropMode ON_TOP
public static final DropMode ON_TOP_OR_BETWEEN
public static final DropMode ON_GRID
When this mode is used, it also recommended to automatically scroll the dropped data (new rows) to be visible for the user.
public static DropMode[] values()
for (DropMode c : DropMode.values()) System.out.println(c);
public static DropMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022 Vaadin Ltd. All rights reserved.