Package com.vaadin.client.ui.dd
Class VServerAccept
- java.lang.Object
-
- com.vaadin.client.ui.dd.VAcceptCriterion
-
- com.vaadin.client.ui.dd.VServerAccept
-
public final class VServerAccept extends VAcceptCriterion
-
-
Constructor Summary
Constructors Constructor Description VServerAccept()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanaccept(VDragEvent drag, UIDL configuration)voidaccept(VDragEvent drag, UIDL configuration, VAcceptCallback callback)Checks if current drag event has valid drop target and target accepts the transferable.booleanneedsServerSideCheck(VDragEvent drag, UIDL criterioUIDL)
-
-
-
Method Detail
-
accept
public void accept(VDragEvent drag, UIDL configuration, VAcceptCallback callback)
Description copied from class:VAcceptCriterionChecks if current drag event has valid drop target and target accepts the transferable. If drop target is valid, callback is used.- Overrides:
acceptin classVAcceptCriterion
-
needsServerSideCheck
public boolean needsServerSideCheck(VDragEvent drag, UIDL criterioUIDL)
- Overrides:
needsServerSideCheckin classVAcceptCriterion
-
accept
protected boolean accept(VDragEvent drag, UIDL configuration)
- Specified by:
acceptin classVAcceptCriterion
-
-