com.vaadin.client.ui.dd
Class VTransferable
java.lang.Object
com.vaadin.client.ui.dd.VTransferable
public class VTransferable
- extends java.lang.Object
Client side counterpart for Transferable in com.vaadin.event.Transferable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VTransferable
public VTransferable()
getDragSource
public ComponentConnector getDragSource()
- Returns the component from which the transferable is created (eg. a tree
which node is dragged).
- Returns:
- the component
setDragSource
public void setDragSource(ComponentConnector component)
- Sets the component currently being dragged or from which the transferable
is created (eg. a tree which node is dragged).
The server side counterpart of the component may implement
DragSource interface if it wants to translate or complement the
server side instance of this Transferable.
- Parameters:
component - the component to set
getData
public java.lang.Object getData(java.lang.String dataFlavor)
setData
public void setData(java.lang.String dataFlavor,
java.lang.Object value)
getDataFlavors
public java.util.Collection<java.lang.String> getDataFlavors()
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.