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.terminal.gwt.client.ui.dd.
Class VTransferable
java.lang.Object
com.vaadin.terminal.gwt.client.ui.dd.VTransferable
- extends Object
public class VTransferable
Client side counterpart for Transferable in com.vaadin.event.Transferable
Constructor Summary | |
---|---|
VTransferable()
|
Method Summary | |
---|---|
Object |
getData(String dataFlavor)
|
Collection<String> |
getDataFlavors()
|
Paintable |
getDragSource()
Returns the component from which the transferable is created (eg. |
void |
setData(String dataFlavor,
Object value)
|
void |
setDragSource(Paintable component)
Sets the component currently being dragged or from which the transferable is created (eg. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
VTransferable
public VTransferable()
Method Detail |
---|
getDragSource
public Paintable getDragSource()
- Returns:
- the component
Returns the component from which the transferable is created (eg. a tree which node is dragged).
setDragSource
public void setDragSource(Paintable component)
- Parameters:
component
- the component to set
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.
getData
public Object getData(String dataFlavor)
setData
public void setData(String dataFlavor,
Object value)
getDataFlavors
public Collection<String> getDataFlavors()