Class MainTabSheetDropEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<MainTabSheet>
io.jmix.tabbedmode.component.tabsheet.MainTabSheetDropEvent
All Implemented Interfaces:
Serializable

@DomEvent("main-tabsheet-drop") public class MainTabSheetDropEvent extends com.vaadin.flow.component.ComponentEvent<MainTabSheet>
An event that occurs when a drag-and-drop operation is completed on a MainTabSheet component.
See Also:
  • Field Details

    • dropTarget

      protected final com.vaadin.flow.component.tabs.Tab dropTarget
    • dragSource

      protected final com.vaadin.flow.component.tabs.Tab dragSource
    • dropLocation

      protected final MainTabSheetDropLocation dropLocation
  • Constructor Details

    • MainTabSheetDropEvent

      public MainTabSheetDropEvent(MainTabSheet source, boolean fromClient, @Nullable @EventData("event.detail.dropTargetTab") elemental.json.JsonString tabId, @EventData("event.detail.dropLocation") String dropLocation)
  • Method Details

    • getDropTarget

      @Nullable public com.vaadin.flow.component.tabs.Tab getDropTarget()
      Returns a drop target tab.
      Returns:
      a drop target tab
    • getDragSource

      @Nullable public com.vaadin.flow.component.tabs.Tab getDragSource()
      Returns a tab that is being dragged.
      Returns:
      a tab that is being dragged
    • getDropLocation

      public MainTabSheetDropLocation getDropLocation()
      Returns a drop location.
      Returns:
      a drop location
    • getActiveDragSourceComponent

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