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 ofDataBoundTransferablefor data transferred from a table.- Since:
- 6.3
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTableTransferable(Map<String,Object> rawVariables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetItemId()Returns the identifier of the item being transferred.ObjectgetPropertyId()Returns the optional property identifier that the transfer concerns.TablegetSourceComponent()-
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:DataBoundTransferableReturns the identifier of the item being transferred.- Specified by:
getItemIdin classDataBoundTransferable- Returns:
- item identifier
-
getPropertyId
public Object getPropertyId()
Description copied from class:DataBoundTransferableReturns the optional property identifier that the transfer concerns. This can be e.g. the table column from which a drag operation originated.- Specified by:
getPropertyIdin classDataBoundTransferable- Returns:
- property identifier
-
getSourceComponent
public Table getSourceComponent()
- Specified by:
getSourceComponentin interfaceTransferable- Overrides:
getSourceComponentin classTransferableImpl- Returns:
- the component that created the Transferable or null if the source component is unknown
-
-