com.vaadin.terminal.gwt.client.ui.dd
Class VAcceptCriterion
java.lang.Object
com.vaadin.terminal.gwt.client.ui.dd.VAcceptCriterion
- Direct Known Subclasses:
- VAcceptAll, VAnd, VContainsDataFlavor, VDragSourceIs, VIsOverId, VItemIdIs, VLazyInitItemIdentifiers, VNot, VOr, VOverTreeNode, VServerAccept, VSourceIsTarget, VTargetDetailIs, VTargetInSubtree
public abstract class VAcceptCriterion
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VAcceptCriterion
public VAcceptCriterion()
accept
public void accept(VDragEvent drag,
UIDL configuration,
VAcceptCallback callback)
- 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)
needsServerSideCheck
public boolean needsServerSideCheck(VDragEvent drag,
UIDL criterioUIDL)
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.