Package com.vaadin.v7.ui
Class Table.TableDropCriterion
- java.lang.Object
-
- com.vaadin.event.dd.acceptcriteria.ServerSideCriterion
-
- com.vaadin.v7.ui.Table.TableDropCriterion
-
- All Implemented Interfaces:
AcceptCriterion
,Serializable
- Enclosing class:
- Table
@Deprecated public abstract static class Table.TableDropCriterion extends ServerSideCriterion
Deprecated.Lazy loading accept criterion for Table. Accepted target rows are loaded from server once per drag and drop operation. Developer must override one method that decides on which rows the currently dragged data can be dropped.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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TableDropCriterion()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.-
Methods inherited from class com.vaadin.event.dd.acceptcriteria.ServerSideCriterion
isClientSideVerifiable, paint, paintContent
-
-
-
-
Method Detail
-
getIdentifier
protected String getIdentifier()
Deprecated.- Overrides:
getIdentifier
in classServerSideCriterion
-
accept
public boolean accept(DragAndDropEvent dragEvent)
Deprecated.
-
paintResponse
public void paintResponse(PaintTarget target) throws PaintException
Deprecated.- Specified by:
paintResponse
in interfaceAcceptCriterion
- Overrides:
paintResponse
in classServerSideCriterion
- Throws:
PaintException
-
getAllowedItemIds
protected abstract Set<Object> getAllowedItemIds(DragAndDropEvent dragEvent, Table table, Collection<Object> visibleItemIds)
Deprecated.- Parameters:
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 items- Returns:
- the set of identifiers for items on which the dragEvent will be accepted
-
-