T
- item type.public class AlwaysTrueDropConstraint<T> extends AbstractDropConstraint<AlwaysTrueDropConstraintDefinition,T>
DropConstraint
. Return Always true.Constructor and Description |
---|
AlwaysTrueDropConstraint(AlwaysTrueDropConstraintDefinition definition) |
Modifier and Type | Method and Description |
---|---|
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.
|
getDefinition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAllowedAt
public AlwaysTrueDropConstraint(AlwaysTrueDropConstraintDefinition definition)
public boolean isAllowedAt(T source, T target, com.vaadin.shared.ui.grid.DropLocation dropLocation)
DropConstraint
Copyright © 2020 Magnolia International Ltd.. All rights reserved.