public class VTransferable extends Object
Constructor and Description |
---|
VTransferable() |
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.
|
public ComponentConnector getDragSource()
public void setDragSource(ComponentConnector component)
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.
component
- the component to setpublic Collection<String> getDataFlavors()
Copyright © 2019 Vaadin Ltd. All rights reserved.