Package com.vaadin.ui.components.grid
Class GridDragEndEvent<T>
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.ui.dnd.event.DragEndEvent<Grid<T>>
-
- com.vaadin.ui.components.grid.GridDragEndEvent<T>
-
- Type Parameters:
T
- The Grid bean type.
- All Implemented Interfaces:
Serializable
public class GridDragEndEvent<T> extends DragEndEvent<Grid<T>>
Drop event on an HTML5 drop targetGrid
row.- Since:
- 8.1
- Author:
- Vaadin Ltd.
- See Also:
GridDragSource.addGridDragStartListener(GridDragStartListener)
, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description GridDragEndEvent(Grid<T> source, DropEffect dropEffect, List<T> draggedItems)
Creates a drag end event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<T>
getDraggedItems()
Get the dragged row items.-
Methods inherited from class com.vaadin.ui.dnd.event.DragEndEvent
getComponent, getDropEffect, isCanceled
-
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
GridDragEndEvent
public GridDragEndEvent(Grid<T> source, DropEffect dropEffect, List<T> draggedItems)
Creates a drag end event.- Parameters:
source
- Grid component in which the items were dragged.dropEffect
- Drop effect fromDataTransfer.dropEffect
object.draggedItems
- List of items having been dragged.
-
-