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:
@Deprecated public final class VAnd extends VAcceptCriterion implements VAcceptCallback
Deprecated.Replaced in 8.1 withDropTargetExtension#setDropCriteria(String)
Author:
Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor Description VAnd()
Deprecated.
-
Method Summary
All Methods Modifier and Type Method 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 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)
Deprecated.Description copied from class:
VAcceptCriterion
Returns whether a client-side check accepts the drop attempt.
Specified by:
accept
in classVAcceptCriterion
Parameters:
drag
- the drag eventconfiguration
- accept criterion UIDLReturns:
true
if a drop attempt is accepted,false
otherwise
-
accepted
public void accepted(VDragEvent event)
Deprecated.Description copied from interface:
VAcceptCallback
This method is called by
VDragAndDropManager
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
Parameters:
event
- the drag event
-
-