Class VTransferable


  • public class VTransferable
    extends Object
    Client side counterpart for Transferable in com.vaadin.event.Transferable
    • Constructor Detail

      • VTransferable

        public VTransferable()
    • 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
      • setData

        public void setData​(String dataFlavor,
                            Object value)