DropTargetExtension#setDropCriteria(String)@Deprecated public final class VAnd extends VAcceptCriterion implements VAcceptCallback
| Constructor and Description |
|---|
VAnd()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept(VDragEvent drag,
UIDL configuration)
Deprecated.
Returns whether a client-side check accepts the drop attempt.
|
void |
accepted(VDragEvent event)
Deprecated.
This method is called by
VDragAndDropManager if the
VDragEvent is still active. |
accept, needsServerSideCheckprotected boolean accept(VDragEvent drag, UIDL configuration)
VAcceptCriterionaccept in class VAcceptCriteriondrag - the drag eventconfiguration - accept criterion UIDLtrue if a drop attempt is accepted, false
otherwisepublic void accepted(VDragEvent event)
VAcceptCallbackVDragAndDropManager if the
VDragEvent is still active. Developer can update for example drag
icon or empahsis the target if the target accepts the transferable. If
the drag and drop operation ends or the VAbstractDropHandler has
changed before response arrives, the method is never called.accepted in interface VAcceptCallbackevent - the drag eventCopyright © 2023 Vaadin Ltd. All rights reserved.