Class DDVerticalLayout.VerticalLayoutTargetDetails

java.lang.Object
com.vaadin.event.dd.TargetDetailsImpl
io.jmix.ui.widget.addon.dragdroplayouts.DDVerticalLayout.VerticalLayoutTargetDetails
All Implemented Interfaces:
com.vaadin.event.dd.TargetDetails, Serializable
Enclosing class:
DDVerticalLayout

public class DDVerticalLayout.VerticalLayoutTargetDetails extends com.vaadin.event.dd.TargetDetailsImpl
Contains the component over which the drop was made and the index on which the drop was made.
See Also:
  • Constructor Details

    • VerticalLayoutTargetDetails

      protected VerticalLayoutTargetDetails(Map<String,Object> rawDropData)
  • Method Details

    • getOverComponent

      public com.vaadin.ui.Component getOverComponent()
      The component over which the drop was made.
      Returns:
      Null if the drop was not over a component, else the component
    • getOverIndex

      public int getOverIndex()
      The index over which the drop was made. If the drop was not made over any component then it returns -1.
      Returns:
      The index of the component or -1 if over no component.
    • getMouseEvent

      public com.vaadin.shared.MouseEventDetails getMouseEvent()
      Some details about the mouse event
      Overrides:
      getMouseEvent in class com.vaadin.event.dd.TargetDetailsImpl
      Returns:
      details about the actual event that caused the event details. Practically mouse move or mouse up.
    • getDropLocation

      public com.vaadin.shared.ui.dd.VerticalDropLocation getDropLocation()
      Get the horizontal position of the dropped component within the underlying cell.
      Returns:
      The drop location