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.ui.
Class DragAndDropWrapper.WrapperTransferable
java.lang.Object
com.vaadin.event.TransferableImpl
com.vaadin.ui.DragAndDropWrapper.WrapperTransferable
All Implemented Interfaces:
Enclosing class:
- extends TransferableImpl
public class DragAndDropWrapper.WrapperTransferable
See Also:
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()
- Returns:
The component in wrapper that is being dragged or null if the transferable is not a component (most likely an html5 drag).
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()