Class DDGridLayout.GridLayoutTransferable

java.lang.Object
com.vaadin.event.TransferableImpl
io.jmix.ui.widget.addon.dragdroplayouts.events.LayoutBoundTransferable
io.jmix.ui.widget.addon.dragdroplayouts.DDGridLayout.GridLayoutTransferable
All Implemented Interfaces:
com.vaadin.event.Transferable, Serializable
Enclosing class:
DDGridLayout

public static class DDGridLayout.GridLayoutTransferable extends LayoutBoundTransferable
Contains the transferable details when dragging from a GridLayout.
See Also:
  • Constructor Details

    • GridLayoutTransferable

      public GridLayoutTransferable(com.vaadin.ui.Component sourceComponent, Map<String,Object> rawVariables)
      Constructor
      Parameters:
      sourceComponent - The source layout from where the component was dragged
      rawVariables - The drag details
  • Method Details

    • getSourceRow

      public int getSourceRow()
      The row from where the component was dragged
      Returns:
      The row index
    • getSourceColumn

      public int getSourceColumn()
      The column from where the component was dragged
      Returns:
      The column index