]> source.dussan.org Git - vaadin-framework.git/commitdiff
javadocs
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 17 Mar 2010 16:16:03 +0000 (16:16 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 17 Mar 2010 16:16:03 +0000 (16:16 +0000)
svn changeset:11940/svn branch:6.3

src/com/vaadin/event/dd/acceptCriteria/And.java
src/com/vaadin/event/dd/acceptCriteria/Or.java

index e3cfa216d395f6fcebb5bfce057b471cc6e559e6..52bf2f7c1ddcab72da5c80aae4eb5f5957d8583a 100644 (file)
@@ -11,8 +11,10 @@ import com.vaadin.terminal.PaintException;
 import com.vaadin.terminal.PaintTarget;
 
 /**
- * Criterion type that joins two or more {@link ClientSideCriterion} together
- * and validates that all sub criterion validates.
+ * A compound criterion that accepts the drag if all of its criteria accepts the
+ * drag.
+ * 
+ * @see Or
  * 
  * @since 6.3
  * 
@@ -25,7 +27,7 @@ public class And extends ClientSideCriterion {
     /**
      * 
      * @param f1
-     *            ClientSideCriterion that must match
+     *            criteria of which the And criterion will be composed
      */
     public And(ClientSideCriterion... f1) {
         this.f1 = f1;
index 26cb90b18efadff691e876d29bb5e0e3677f82f9..35eee06b4c01bb6999639488dd754a75078b8d28 100644 (file)
@@ -12,19 +12,23 @@ import com.vaadin.terminal.PaintTarget;
 import com.vaadin.terminal.gwt.client.ui.dd.VOr;
 
 /**
- * A compound criterion that returns true if any of criteria returns true.
+ * A compound criterion that accepts the drag if any of its criterion accepts
+ * it.
+ * 
+ * @see And
  * 
  * @since 6.3
  * 
  */
 @ClientCriterion(VOr.class)
 public class Or extends ClientSideCriterion {
-    /**
-     * 
-     */
     private static final long serialVersionUID = 1L;
     private AcceptCriterion criteria[];
 
+    /**
+     * @param criteria
+     *            the criteria of which the Or criteria will be composed
+     */
     public Or(ClientSideCriterion... criteria) {
         this.criteria = criteria;
     }