diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-02-12 11:40:21 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-02-12 11:40:21 +0000 |
commit | b361498f510e144419b19bf3865f39895b07f1d2 (patch) | |
tree | 8333305362dd2d4658741a44ef129efd299e0a67 /src/com/vaadin/event/dd/acceptCriteria/Not.java | |
parent | ac88783e91f6d4a40280d5c345fd4bd83ed4051d (diff) | |
download | vaadin-framework-b361498f510e144419b19bf3865f39895b07f1d2.tar.gz vaadin-framework-b361498f510e144419b19bf3865f39895b07f1d2.zip |
n:th proto
svn changeset:11292/svn branch:6.3_dd
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 |