public final class VAnd extends VAcceptCriterion implements VAcceptCallback
Constructor and Description |
---|
VAnd() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
accept(VDragEvent drag,
UIDL configuration) |
void |
accepted(VDragEvent event)
This method is called by
VDragAndDropManager if the
VDragEvent is still active. |
accept, needsServerSideCheck
protected boolean accept(VDragEvent drag, UIDL configuration)
accept
in class VAcceptCriterion
public void accepted(VDragEvent event)
VAcceptCallback
VDragAndDropManager
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 VAcceptCallback
Copyright © 2019 Vaadin Ltd. All rights reserved.