diff options
Diffstat (limited to 'src/com/vaadin/event/dd/acceptCriteria/Not.java')
-rw-r--r-- | src/com/vaadin/event/dd/acceptCriteria/Not.java | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/com/vaadin/event/dd/acceptCriteria/Not.java b/src/com/vaadin/event/dd/acceptCriteria/Not.java new file mode 100644 index 0000000000..2408d6b6a3 --- /dev/null +++ b/src/com/vaadin/event/dd/acceptCriteria/Not.java @@ -0,0 +1,36 @@ +/** + * + */ +package com.vaadin.event.dd.acceptCriteria; + +import com.vaadin.event.dd.DragAndDropEvent; +import com.vaadin.terminal.PaintException; +import com.vaadin.terminal.PaintTarget; + +public class Not implements AcceptCriterion { + private AcceptCriterion acceptCriterion; + + public Not(AcceptCriterion acceptCriterion) { + this.acceptCriterion = acceptCriterion; + } + + public boolean isClientSideVerifiable() { + // TODO Auto-generated method stub + return false; + } + + public void paint(PaintTarget target) throws PaintException { + // TODO Auto-generated method stub + + } + + public boolean accepts(DragAndDropEvent dragEvent) { + return !acceptCriterion.accepts(dragEvent); + } + + public void paintResponse(PaintTarget target) throws PaintException { + // TODO Auto-generated method stub + + } + +}
\ No newline at end of file |