| Package | Description |
|---|---|
| com.vaadin.ui | |
| com.vaadin.ui.components.grid | |
| com.vaadin.ui.dnd.event |
| Modifier and Type | Method and Description |
|---|---|
DragSourceExtension<? extends AbstractComponent> |
UI.getActiveDragSource()
Gets the drag source of an active HTML5 drag event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UI.setActiveDragSource(DragSourceExtension<? extends AbstractComponent> extension)
Sets the drag source of an active HTML5 drag event.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridDragSource<T>
Makes a Grid's rows draggable for HTML5 drag and drop functionality.
|
class |
TreeGridDragSource<T>
Makes a TreeGrid's rows draggable for HTML5 drag and drop functionality.
|
| Constructor and Description |
|---|
GridDropEvent(Grid<T> target,
Map<String,String> data,
DropEffect dropEffect,
DragSourceExtension<? extends AbstractComponent> dragSourceExtension,
T dropTargetRow,
DropLocation dropLocation,
MouseEventDetails mouseEventDetails)
Creates a Grid row drop event.
|
TreeGridDropEvent(TreeGrid<T> target,
Map<String,String> data,
DropEffect dropEffect,
DragSourceExtension<? extends AbstractComponent> dragSourceExtension,
T dropTargetRow,
DropLocation dropLocation,
MouseEventDetails mouseEventDetails,
Integer depth,
Boolean collapsed)
Creates a TreeGrid row drop event.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<DragSourceExtension<? extends AbstractComponent>> |
DropEvent.getDragSourceExtension()
Returns the extension of the drag source component if the drag originated
from a component in the same UI as the drop target component, or an empty
optional.
|
| Constructor and Description |
|---|
DropEvent(T target,
Map<String,String> data,
DropEffect dropEffect,
DragSourceExtension<? extends AbstractComponent> dragSourceExtension,
MouseEventDetails mouseEventDetails)
Creates a server side drop event.
|
Copyright © 2020 Vaadin Ltd. All rights reserved.