Package com.vaadin.client.ui.dd
Class VAnd
- java.lang.Object
-
- com.vaadin.client.ui.dd.VAcceptCriterion
-
- com.vaadin.client.ui.dd.VAnd
-
- All Implemented Interfaces:
VAcceptCallback
public final class VAnd extends VAcceptCriterion implements VAcceptCallback
-
-
Constructor Summary
Constructors Constructor Description VAnd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
accept(VDragEvent drag, UIDL configuration)
void
accepted(VDragEvent event)
This method is called byVDragAndDropManager
if theVDragEvent
is still active.-
Methods inherited from class com.vaadin.client.ui.dd.VAcceptCriterion
accept, needsServerSideCheck
-
-
-
-
Method Detail
-
accept
protected boolean accept(VDragEvent drag, UIDL configuration)
- Specified by:
accept
in classVAcceptCriterion
-
accepted
public void accepted(VDragEvent event)
Description copied from interface:VAcceptCallback
This method is called byVDragAndDropManager
if theVDragEvent
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 theVAbstractDropHandler
has changed before response arrives, the method is never called.- Specified by:
accepted
in interfaceVAcceptCallback
-
-