@Deprecated public abstract static class Table.TableDropCriterion 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 |
|---|
TableDropCriterion()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(DragAndDropEvent dragEvent)
Deprecated.
|
protected abstract Set<Object> |
getAllowedItemIds(DragAndDropEvent dragEvent,
Table table,
Collection<Object> visibleItemIds)
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, Table table, Collection<Object> visibleItemIds)
dragEvent - table - the table for which the allowed item identifiers are
definedvisibleItemIds - the list of currently rendered item identifiers, accepted
item id's need to be detected only for these visible itemsCopyright © 2019 Vaadin Ltd. All rights reserved.