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 the ColumnsGrouper component that corresponds to the GroupDataGrid.
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 Details

  • 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

      @Nullable public String getDropTargetKey()
      Returns:
      the key of the drop target, or null if a column was dropped to an empty space
    • getDragSource

      @Nullable public ColumnsGrouperItem getDragSource()
      Returns:
      the drag source item
    • getDropLocation

      public ColumnsGrouperDropLocation getDropLocation()
      Returns:
      the drop location
    • getActiveDragSourceComponent

      protected com.vaadin.flow.component.Component getActiveDragSourceComponent()