com.vaadin.client.ui.dd.
Class VTransferable
- java.lang.Object
-
- com.vaadin.client.ui.dd.VTransferable
-
@Deprecated public class VTransferable extends Object
Deprecated.Replaced in 8.1 withDragSourceExtensionConnector
Client side counterpart for Transferable in com.vaadin.event.Transferable.
Author:
Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor Description VTransferable()
Deprecated.
-
Method Summary
All Methods Modifier and Type Method Description Object
getData(String dataFlavor)
Deprecated.
Returns previously saved data that is referred to by the given identifier.
Collection<String>
getDataFlavors()
Deprecated.
Returns a collection of stored identifiers that each correspond with one stored data object.
ComponentConnector
getDragSource()
Deprecated.
Returns the component from which the transferable is created (e.g.
void
setData(String dataFlavor, Object value)
Deprecated.
Stores any type of named data that can be useful during the DnD operation.
void
setDragSource(ComponentConnector component)
Deprecated.
Sets the component currently being dragged or from which the transferable is created (e.g.
-
-
-
Method Detail
-
getDragSource
public ComponentConnector getDragSource()
Deprecated.Returns the component from which the transferable is created (e.g. a tree which node is dragged).
Returns:
the component
-
setDragSource
public void setDragSource(ComponentConnector component)
Deprecated.Sets the component currently being dragged or from which the transferable is created (e.g. 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 Object getData(String dataFlavor)
Deprecated.Returns previously saved data that is referred to by the given identifier.
Parameters:
dataFlavor
- the identifier for the data objectReturns:
the data object, or
null
if not foundSee Also:
-
setData
public void setData(String dataFlavor, Object value)
Deprecated.Stores any type of named data that can be useful during the DnD operation.
Parameters:
dataFlavor
- the identifier for the data object, should not benull
value
- the data to store, should not benull
-
getDataFlavors
public Collection<String> getDataFlavors()
Deprecated.Returns a collection of stored identifiers that each correspond with one stored data object.
Returns:
the collection of identifiers, can be empty if no data has been stored yet
See Also:
-
-