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 VContainsDataFlavor
- java.lang.Object
-
- com.vaadin.client.ui.dd.VAcceptCriterion
-
- com.vaadin.client.ui.dd.VContainsDataFlavor
-
@Deprecated public final class VContainsDataFlavor extends VAcceptCriterion
Deprecated.Replaced in 8.1 withDropTargetExtension#setDropCriteria(String)
Author:
Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor Description VContainsDataFlavor()
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.
-
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
-
-