DragSourceExtensionConnector@Deprecated public class VTransferable extends Object
| Constructor and Description |
|---|
VTransferable()
Deprecated.
|
| Modifier and Type | Method and 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.
|
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 Object getData(String dataFlavor)
dataFlavor - the identifier for the data objectnull if not foundsetData(String, Object)public void setData(String dataFlavor, Object value)
dataFlavor - the identifier for the data object, should not be nullvalue - the data to store, should not be nullpublic Collection<String> getDataFlavors()
setData(String, Object)Copyright © 2023 Vaadin Ltd. All rights reserved.