Package com.vaadin.v7.ui
Class Tree.TreeDropCriterion
- java.lang.Object
-
- com.vaadin.event.dd.acceptcriteria.ServerSideCriterion
-
- com.vaadin.v7.ui.Tree.TreeDropCriterion
-
- All Implemented Interfaces:
AcceptCriterion
,Serializable
- Enclosing class:
- Tree
@Deprecated public abstract static class Tree.TreeDropCriterion extends ServerSideCriterion
Deprecated.Lazy loading accept criterion for Tree. Accepted target nodes are loaded from server once per drag and drop operation. Developer must override one method that decides accepted tree nodes for the whole Tree.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 TreeDropCriterion()
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, Tree tree)
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, Tree tree)
Deprecated.
-
-