Package com.vaadin.ui
Class Table.TableTransferable
- java.lang.Object
-
- com.vaadin.event.TransferableImpl
-
- com.vaadin.event.DataBoundTransferable
-
- com.vaadin.ui.Table.TableTransferable
-
- All Implemented Interfaces:
Transferable
,Serializable
- Enclosing class:
- Table
public class Table.TableTransferable extends DataBoundTransferable
Concrete implementation ofDataBoundTransferable
for data transferred from a table.- Since:
- 6.3
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TableTransferable(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.Table
getSourceComponent()
-
Methods inherited from class com.vaadin.event.DataBoundTransferable
getSourceContainer
-
Methods inherited from class com.vaadin.event.TransferableImpl
getData, getDataFlavors, 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
-
getSourceComponent
public Table getSourceComponent()
- Specified by:
getSourceComponent
in interfaceTransferable
- Overrides:
getSourceComponent
in classTransferableImpl
- Returns:
- the component that created the Transferable or null if the source component is unknown
-
-