summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/event/dd/acceptCriteria/Or.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/event/dd/acceptCriteria/Or.java')
-rw-r--r--src/com/vaadin/event/dd/acceptCriteria/Or.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/com/vaadin/event/dd/acceptCriteria/Or.java b/src/com/vaadin/event/dd/acceptCriteria/Or.java
index 26cb90b18e..35eee06b4c 100644
--- a/src/com/vaadin/event/dd/acceptCriteria/Or.java
+++ b/src/com/vaadin/event/dd/acceptCriteria/Or.java
@@ -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;
}