public class Or extends ClientSideCriterion
And,
Serialized Form| Constructor and Description |
|---|
Or(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, paintResponsepublic Or(ClientSideCriterion... criteria)
criteria - the criteria of which the Or criteria 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.