Package com.vaadin.client.ui.dd
Class VNot
- java.lang.Object
-
- com.vaadin.client.ui.dd.VAcceptCriterion
-
- com.vaadin.client.ui.dd.VNot
-
public final class VNot extends VAcceptCriterion
TODO implementation could now be simplified/optimized
-
-
Constructor Summary
Constructors Constructor Description VNot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
accept(VDragEvent drag, UIDL configuration)
void
accept(VDragEvent drag, UIDL configuration, VAcceptCallback callback)
Checks if current drag event has valid drop target and target accepts the transferable.boolean
needsServerSideCheck(VDragEvent drag, UIDL criterioUIDL)
-
-
-
Method Detail
-
accept
public void accept(VDragEvent drag, UIDL configuration, VAcceptCallback callback)
Description copied from class:VAcceptCriterion
Checks if current drag event has valid drop target and target accepts the transferable. If drop target is valid, callback is used.- Overrides:
accept
in classVAcceptCriterion
-
needsServerSideCheck
public boolean needsServerSideCheck(VDragEvent drag, UIDL criterioUIDL)
- Overrides:
needsServerSideCheck
in classVAcceptCriterion
-
accept
protected boolean accept(VDragEvent drag, UIDL configuration)
- Specified by:
accept
in classVAcceptCriterion
-
-