We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.client.ui.dd.
Class VAcceptCriterion
- java.lang.Object
-
- com.vaadin.client.ui.dd.VAcceptCriterion
-
Direct Known Subclasses:
VAcceptAll, VAnd, VContainsDataFlavor, VDragSourceIs, VLazyInitItemIdentifiers, VNot, VOr, VOverTreeNode, VServerAccept, VSourceIsTarget, VTargetDetailIs
Deprecated.
Replaced in 8.1 withDropTargetExtension#setDropCriteria(String)
@Deprecated public abstract class VAcceptCriterion extends Object
Author:
Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor and Description VAcceptCriterion()
Deprecated.
-
Method Summary
All Methods Modifier and Type Method and Description protected abstract boolean
accept(VDragEvent drag, UIDL configuration)
Deprecated.
void
accept(VDragEvent drag, UIDL configuration, VAcceptCallback callback)
Deprecated.
Checks if current drag event has valid drop target and target accepts the transferable.
boolean
needsServerSideCheck(VDragEvent drag, UIDL criterioUIDL)
Deprecated.
-
-
-
Method Detail
-
accept
public void accept(VDragEvent drag, UIDL configuration, VAcceptCallback callback)
Deprecated.
Checks if current drag event has valid drop target and target accepts the transferable. If drop target is valid, callback is used.
Parameters:
drag
-configuration
-callback
-
-
accept
protected abstract boolean accept(VDragEvent drag, UIDL configuration)
Deprecated.
-
needsServerSideCheck
public boolean needsServerSideCheck(VDragEvent drag, UIDL criterioUIDL)
Deprecated.
-
-