We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.client.ui.dd.
Class VTransferable
- java.lang.Object
-
- com.vaadin.client.ui.dd.VTransferable
-
public class VTransferable extends Object
Client side counterpart for Transferable in com.vaadin.event.Transferable
-
-
Constructor Summary
Constructors Constructor and Description VTransferable()
-
Method Summary
All Methods Modifier and Type Method and Description Object
getData(String dataFlavor)
Collection<String>
getDataFlavors()
ComponentConnector
getDragSource()
Returns the component from which the transferable is created (eg.
void
setData(String dataFlavor, Object value)
void
setDragSource(ComponentConnector component)
Sets the component currently being dragged or from which the transferable is created (eg.
-
-
-
Method Detail
-
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
-
getDataFlavors
public Collection<String> getDataFlavors()
-
-