@Deprecated public abstract static class Tree.TreeDropCriterion extends ServerSideCriterion
Initially pretty much no data is sent to client. On first required criterion check (per drag request) the client side data structure is initialized from server and no subsequent requests requests are needed during that drag and drop operation.
| Constructor and Description |
|---|
TreeDropCriterion()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(DragAndDropEvent dragEvent)
Deprecated.
|
protected abstract Set<Object> |
getAllowedItemIds(DragAndDropEvent dragEvent,
Tree tree)
Deprecated.
|
protected String |
getIdentifier()
Deprecated.
|
void |
paintResponse(PaintTarget target)
Deprecated.
|
isClientSideVerifiable, paint, paintContentprotected String getIdentifier()
getIdentifier in class ServerSideCriterionpublic boolean accept(DragAndDropEvent dragEvent)
public void paintResponse(PaintTarget target) throws PaintException
paintResponse in interface AcceptCriterionpaintResponse in class ServerSideCriterionPaintExceptionprotected abstract Set<Object> getAllowedItemIds(DragAndDropEvent dragEvent, Tree tree)
Copyright © 2019 Vaadin Ltd. All rights reserved.