Class RowSelectionDragMode

All Implemented Interfaces:
IDragMode
Direct Known Subclasses:
SingleRowSelectionDragMode

public class RowSelectionDragMode extends CellSelectionDragMode
Selects the entire row when the mouse is dragged on the body. Multiple rows are selected as the user drags.
See Also:
  • Constructor Details

    • RowSelectionDragMode

      public RowSelectionDragMode()
  • Method Details

    • fireSelectionCommand

      public void fireSelectionCommand(NatTable natTable, int columnPosition, int rowPosition, boolean shiftMask, boolean controlMask)
      Description copied from class: CellSelectionDragMode
      Execute a command to trigger selection.
      Overrides:
      fireSelectionCommand in class CellSelectionDragMode
      Parameters:
      natTable - The NatTable to execute the command on.
      columnPosition - The column position of the cell to select.
      rowPosition - The row position of the cell to select.
      shiftMask - Flag to configure whether the SHIFT mask is activated or not.
      controlMask - Flag to configure whether the CTRL mask is activated or not.