public final class VOr extends VAcceptCriterion implements VAcceptCallback
| Constructor and Description |
|---|
VOr() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept(VDragEvent drag,
UIDL configuration) |
void |
accept(VDragEvent drag,
UIDL configuration,
VAcceptCallback callback)
Checks if current drag event has valid drop target and target accepts the
transferable.
|
void |
accepted(VDragEvent event)
This method is called by
VDragAndDropManager if the
VDragEvent is still active. |
boolean |
needsServerSideCheck(VDragEvent drag,
UIDL criterioUIDL) |
public void accept(VDragEvent drag, UIDL configuration, VAcceptCallback callback)
VAcceptCriterionaccept in class VAcceptCriterionpublic boolean needsServerSideCheck(VDragEvent drag, UIDL criterioUIDL)
needsServerSideCheck in class VAcceptCriterionprotected boolean accept(VDragEvent drag, UIDL configuration)
accept in class VAcceptCriterionpublic 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 VAcceptCallbackCopyright © 2016 Vaadin Ltd. All rights reserved.