T
- item type.public interface DropConstraint<T>
A move operation may originate from drag-and-drop or from a move dialog.
DropConstraint class is configured in the WorkbenchDefinition
.
Modifier and Type | Method and Description |
---|---|
default boolean |
isAllowedAt(Collection<T> sources,
T target,
com.vaadin.shared.ui.grid.DropLocation dropLocation) |
boolean |
isAllowedAt(T source,
T target,
com.vaadin.shared.ui.grid.DropLocation dropLocation)
Checks whether source item is allowed to be moved relative (based on the move location) to target item.
|
default boolean isAllowedAt(Collection<T> sources, T target, com.vaadin.shared.ui.grid.DropLocation dropLocation)
Copyright © 2021 Magnolia International Ltd.. All rights reserved.