public class And extends ClientSideCriterion
Or,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected ClientSideCriterion[] |
criteria |
| Constructor and Description |
|---|
And(ClientSideCriterion... criteria) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(DragAndDropEvent dragEvent)
Validates the data in event to be appropriate for the
DropHandler.drop(DragAndDropEvent) method. |
void |
paintContent(PaintTarget target) |
getIdentifier, isClientSideVerifiable, paint, paintResponseprotected ClientSideCriterion[] criteria
public And(ClientSideCriterion... criteria)
criteria - criteria of which the And criterion will be composedpublic void paintContent(PaintTarget target) throws PaintException
paintContent in class ClientSideCriterionPaintExceptionpublic boolean accept(DragAndDropEvent dragEvent)
AcceptCriterionDropHandler.drop(DragAndDropEvent) method.
Note that even if your criterion is validated on client side, you should always validate the data on server side too.
Copyright © 2018 Vaadin Ltd. All rights reserved.