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 of DataBoundTransferable for data transferred from a table.

Since:

6.3

See Also:

DataBoundTransferable}., Serialized Form

Constructor Summary
protected Table.TableTransferable(Map<String,Object> rawVariables)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Table.TableTransferable

protected Table.TableTransferable(Map<String,Object> rawVariables)
Method Detail

getItemId

public Object getItemId()

Description copied from class: DataBoundTransferable

Returns the identifier of the item being transferred.

Specified by:
getItemId in class DataBoundTransferable

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 class DataBoundTransferable

Returns:
property identifier

getSourceComponent

public Table getSourceComponent()

Specified by:
getSourceComponent in interface Transferable
Overrides:
getSourceComponent in class TransferableImpl

Returns:
the component that created the Transferable or null if the source component is unknown