public class Or extends ClientSideCriterion
And
,
Serialized FormConstructor 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, paintResponse
public Or(ClientSideCriterion... criteria)
criteria
- the criteria of which the Or criteria 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 © 2019 Vaadin Ltd. All rights reserved.