Class GridDragStartEvent<T>
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.flow.component.ComponentEvent<Grid<T>>
-
- com.vaadin.flow.component.grid.dnd.GridDragStartEvent<T>
-
- Type Parameters:
T
- The Grid bean type.
- All Implemented Interfaces:
Serializable
@DomEvent("grid-dragstart") public class GridDragStartEvent<T> extends ComponentEvent<Grid<T>>
Drag start event ofGrid
rows.- Author:
- Vaadin Ltd.
- See Also:
Grid#addDragStartListener(GridDragStartListener)
, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description GridDragStartEvent(Grid<T> source, boolean fromClient, elemental.json.JsonObject details)
Creates a grid drag start 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.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
GridDragStartEvent
public GridDragStartEvent(Grid<T> source, boolean fromClient, @EventData("event.detail") elemental.json.JsonObject details)
Creates a grid drag start event.- Parameters:
source
- Component that was dragged.fromClient
-true
if the event originated from the client side,false
otherwisedetails
- Event details fromdetail
.
-
-