diff options
Diffstat (limited to 'src/com/vaadin/event/dd/acceptCriteria/And.java')
-rw-r--r-- | src/com/vaadin/event/dd/acceptCriteria/And.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/com/vaadin/event/dd/acceptCriteria/And.java b/src/com/vaadin/event/dd/acceptCriteria/And.java index e3cfa216d3..52bf2f7c1d 100644 --- a/src/com/vaadin/event/dd/acceptCriteria/And.java +++ b/src/com/vaadin/event/dd/acceptCriteria/And.java @@ -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; |