|
12345678910111213141516171819202122232425262728293031323334 |
- /*
- @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.
- * <p>
- * If everything is accepted developer can return {@link AcceptAll}
- * instance.
- *
- * @return the {@link AcceptCriterion}
- */
- public AcceptCriterion getAcceptCriterion();
-
- }
|