com.vaadin.ui
Class DragAndDropWrapper.WrapperTransferable

java.lang.Object
  extended by com.vaadin.event.TransferableImpl
      extended by com.vaadin.ui.DragAndDropWrapper.WrapperTransferable
All Implemented Interfaces:
Transferable, Serializable
Enclosing class:
DragAndDropWrapper

public class DragAndDropWrapper.WrapperTransferable
extends TransferableImpl

See Also:
Serialized Form

Constructor Summary
DragAndDropWrapper.WrapperTransferable(Component sourceComponent, Map<String,Object> rawVariables)
           
 
Method Summary
 Component getDraggedComponent()
          The component in wrapper that is being dragged or null if the transferable is not a component (most likely an html5 drag).
 Html5File[] getFiles()
           
 String getHtml()
           
 MouseEventDetails getMouseDownEvent()
           
 String getText()
           
 
Methods inherited from class com.vaadin.event.TransferableImpl
getData, getDataFlavors, getSourceComponent, setData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DragAndDropWrapper.WrapperTransferable

public DragAndDropWrapper.WrapperTransferable(Component sourceComponent,
                                              Map<String,Object> rawVariables)
Method Detail

getDraggedComponent

public Component getDraggedComponent()
The component in wrapper that is being dragged or null if the transferable is not a component (most likely an html5 drag).

Returns:

getMouseDownEvent

public MouseEventDetails getMouseDownEvent()
Returns:
the mouse down event that started the drag and drop operation

getFiles

public Html5File[] getFiles()

getText

public String getText()

getHtml

public String getHtml()


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.