com.vaadin.ui
Class Tree.TreeTransferable

java.lang.Object
  extended by com.vaadin.event.TransferableImpl
      extended by com.vaadin.event.DataBoundTransferable
          extended by com.vaadin.ui.Tree.TreeTransferable
All Implemented Interfaces:
Transferable, Serializable
Enclosing class:
Tree

protected class Tree.TreeTransferable
extends DataBoundTransferable

Concrete implementation of DataBoundTransferable for data transferred from a tree.

Since:
6.3
See Also:
DataBoundTransferable}., Serialized Form

Constructor Summary
Tree.TreeTransferable(Component sourceComponent, 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.
 
Methods inherited from class com.vaadin.event.DataBoundTransferable
getSourceContainer
 
Methods inherited from class com.vaadin.event.TransferableImpl
getData, getDataFlavors, getSourceComponent, setData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tree.TreeTransferable

public Tree.TreeTransferable(Component sourceComponent,
                             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


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.