| Package | Description |
|---|---|
| com.vaadin.event.dd.acceptcriteria | |
| com.vaadin.ui |
| Modifier and Type | Class and Description |
|---|---|
class |
AcceptAll
Criterion that accepts all drops anywhere on the component.
|
class |
And
A compound criterion that accepts the drag if all of its criteria accepts the
drag.
|
class |
ContainsDataFlavor
A Criterion that checks whether
Transferable contains given data
flavor. |
class |
Not
Criterion that wraps another criterion and inverts its return value.
|
class |
Or
A compound criterion that accepts the drag if any of its criterion accepts
it.
|
class |
SourceIs
Client side criteria that checks if the drag source is one of the given
components.
|
class |
SourceIsTarget
A criterion that ensures the drag source is the same as drop target.
|
class |
TargetDetailIs
Criterion for checking if drop target details contains the specific property
with the specific value.
|
| Modifier and Type | Field and Description |
|---|---|
protected ClientSideCriterion[] |
And.criteria |
| Constructor and Description |
|---|
And(ClientSideCriterion... criteria) |
Not(ClientSideCriterion acceptCriterion) |
Or(ClientSideCriterion... criteria) |
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractSelect.AcceptItem
This criterion accepts a only a
Transferable that contains given
Item (practically its identifier) from a specific AbstractSelect. |
static class |
AbstractSelect.TargetItemIs
Criterion which accepts a drop only if the drop target is (one of) the
given Item identifier(s).
|
static class |
AbstractSelect.VerticalLocationIs
An accept criterion to accept drops only on a specific vertical location
of an item.
|
class |
Tree.TargetInSubtree
An accept criterion that checks the parent node (or parent hierarchy) for
the item identifier given in constructor.
|
static class |
Tree.TargetItemAllowsChildren
A criterion that accepts
Transferable only directly on a tree
node that can have children. |
| Modifier and Type | Field and Description |
|---|---|
static ClientSideCriterion |
AbstractSelect.AcceptItem.ALL
A simple accept criterion which ensures that
Transferable
contains an Item (or actually its identifier). |
Copyright © 2022 Vaadin Ltd. All rights reserved.