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:
com.vaadin.event.Transferable, Serializable
Enclosing class:
DragAndDropWrapper

public class DragAndDropWrapper.WrapperTransferable
extends com.vaadin.event.TransferableImpl

See Also:
Serialized Form

Constructor Summary
DragAndDropWrapper.WrapperTransferable(com.vaadin.ui.Component sourceComponent, Map<String,Object> rawVariables)
           
 
Method Summary
 com.vaadin.ui.Component getDraggedComponent()
          The component in wrapper that is being dragged or null if the transferable is not a component (most likely an html5 drag).
 com.vaadin.ui.Html5File[] getFiles()
           
 String getHtml()
           
 com.vaadin.shared.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(com.vaadin.ui.Component sourceComponent,
                                              Map<String,Object> rawVariables)
Method Detail

getDraggedComponent

public com.vaadin.ui.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 com.vaadin.shared.MouseEventDetails getMouseDownEvent()
Returns:
the mouse down event that started the drag and drop operation

getFiles

public com.vaadin.ui.Html5File[] getFiles()

getText

public String getText()

getHtml

public String getHtml()


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.