public class CompositeDropConstraint<T> extends Object implements DropConstraint<T>
DropConstraint
s.
It evaluates to true
if any only if all its components return true
.Constructor and Description |
---|
CompositeDropConstraint(DropConstraint<T>... dropConstraints) |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAllowedAt
@SafeVarargs public CompositeDropConstraint(DropConstraint<T>... dropConstraints)
public boolean isAllowedAt(T source, T target, com.vaadin.shared.ui.grid.DropLocation dropLocation)
DropConstraint
isAllowedAt
in interface DropConstraint<T>
Copyright © 2020 Magnolia International Ltd.. All rights reserved.