public class And extends ClientSideCriterion
Or
,
Serialized FormModifier 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, paintResponse
protected 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 ClientSideCriterion
PaintException
public boolean accept(DragAndDropEvent dragEvent)
AcceptCriterion
DropHandler.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.