| Package | Description |
|---|---|
| com.vaadin.event.dd | |
| com.vaadin.event.dd.acceptcriteria | |
| com.vaadin.ui |
| Modifier and Type | Method and Description |
|---|---|
AcceptCriterion |
DropHandler.getAcceptCriterion()
Returns the
AcceptCriterion used to evaluate whether the
Transferable will be handed over to
DropHandler.drop(DragAndDropEvent) method. |
| 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 |
ClientSideCriterion
Parent class for criteria that can be completely validated on client side.
|
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 |
ServerSideCriterion
Parent class for criteria which are verified on the server side during a drag
operation to accept/discard dragged content (presented by
Transferable). |
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 | Method and Description |
|---|---|
static AcceptCriterion |
AcceptAll.get() |
| 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.
|
static class |
Table.TableDropCriterion
Lazy loading accept criterion for Table.
|
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. |
static class |
Tree.TreeDropCriterion
Lazy loading accept criterion for Tree.
|
Copyright © 2017 Vaadin Ltd. All rights reserved.