public final class AcceptAll extends ClientSideCriterion
Note! Class is singleton, use get()
method to get the instance.
Modifier and Type | Method and Description |
---|---|
boolean |
accept(DragAndDropEvent dragEvent)
Validates the data in event to be appropriate for the
DropHandler.drop(DragAndDropEvent) method. |
static AcceptCriterion |
get() |
getIdentifier, isClientSideVerifiable, paint, paintContent, paintResponse
public static AcceptCriterion get()
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.