Class ColumnsGrouperDropEvent<E>
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<ColumnsGrouper<E>>
io.jmix.groupgridflowui.component.columnsgrouper.event.ColumnsGrouperDropEvent<E>
- Type Parameters:
E- the entity type of theColumnsGroupercomponent that corresponds to theGroupDataGrid.
- All Implemented Interfaces:
Serializable
@DomEvent("columns-grouper-drop")
public class ColumnsGrouperDropEvent<E>
extends com.vaadin.flow.component.ComponentEvent<ColumnsGrouper<E>>
An event is fired when a column is dropped into a drop area of the
ColumnsGrouper component.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ColumnsGrouperItemprotected final ColumnsGrouperDropLocationprotected final StringFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionColumnsGrouperDropEvent(ColumnsGrouper<E> source, boolean fromClient, String dropTargetKey, String dropLocation) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.component.ComponentMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Field Details
-
dropTargetKey
-
dragSource
-
dropLocation
-
-
Constructor Details
-
ColumnsGrouperDropEvent
public ColumnsGrouperDropEvent(ColumnsGrouper<E> source, boolean fromClient, @Nullable @EventData("event.detail.dropTargetKey") String dropTargetKey, @EventData("event.detail.dropLocation") String dropLocation)
-
-
Method Details
-
getDropTargetKey
- Returns:
- the key of the drop target, or
nullif a column was dropped to an empty space
-
getDragSource
- Returns:
- the drag source item
-
getDropLocation
- Returns:
- the drop location
-
getActiveDragSourceComponent
protected com.vaadin.flow.component.Component getActiveDragSourceComponent()
-