/* @ITMillApache2LicenseForJavaFiles@ */ package com.vaadin.event.dd; import java.io.Serializable; import com.vaadin.event.dd.acceptCriteria.AcceptAll; import com.vaadin.event.dd.acceptCriteria.AcceptCriterion; /** * TODO Javadoc * * @since 6.3 * */ public interface DropHandler extends Serializable { public void drop(DragAndDropEvent dropEvent); /** * Returns the {@link AcceptCriterion} used to evaluate whether the * {@link Transferable} will be handed over to {@link DropHandler}. If * client side can't verify the {@link AcceptCriterion}, the same criteria * may be tested also prior to actual drop - during the drag operation. *

* If everything is accepted developer can return {@link AcceptAll} * instance. * * @return the {@link AcceptCriterion} */ public AcceptCriterion getAcceptCriterion(); }