Package com.vaadin.ui
Class Tree.TreeTransferable
- java.lang.Object
-
- com.vaadin.event.TransferableImpl
-
- com.vaadin.event.DataBoundTransferable
-
- com.vaadin.ui.Tree.TreeTransferable
-
- All Implemented Interfaces:
Transferable
,Serializable
- Enclosing class:
- Tree
protected class Tree.TreeTransferable extends DataBoundTransferable
Concrete implementation ofDataBoundTransferable
for data transferred from a tree.- Since:
- 6.3
- See Also:
DataBoundTransferable
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TreeTransferable(Component sourceComponent, Map<String,Object> rawVariables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getItemId()
Returns the identifier of the item being transferred.Object
getPropertyId()
Returns the optional property identifier that the transfer concerns.-
Methods inherited from class com.vaadin.event.DataBoundTransferable
getSourceContainer
-
Methods inherited from class com.vaadin.event.TransferableImpl
getData, getDataFlavors, getSourceComponent, setData
-
-
-
-
Method Detail
-
getItemId
public Object getItemId()
Description copied from class:DataBoundTransferable
Returns the identifier of the item being transferred.- Specified by:
getItemId
in classDataBoundTransferable
- Returns:
- item identifier
-
getPropertyId
public Object getPropertyId()
Description copied from class:DataBoundTransferable
Returns the optional property identifier that the transfer concerns. This can be e.g. the table column from which a drag operation originated.- Specified by:
getPropertyId
in classDataBoundTransferable
- Returns:
- property identifier
-
-