Class SelectRowGroupCommandHandler<T>

java.lang.Object
org.eclipse.nebula.widgets.nattable.command.AbstractLayerCommandHandler<SelectRowGroupsCommand>
org.eclipse.nebula.widgets.nattable.selection.SelectRowGroupCommandHandler<T>
All Implemented Interfaces:
ILayerCommandHandler<SelectRowGroupsCommand>

public class SelectRowGroupCommandHandler<T> extends AbstractLayerCommandHandler<SelectRowGroupsCommand>
  • Constructor Details

  • Method Details

    • getCommandClass

      public Class<SelectRowGroupsCommand> getCommandClass()
    • doCommand

      protected boolean doCommand(SelectRowGroupsCommand command)
      Specified by:
      doCommand in class AbstractLayerCommandHandler<SelectRowGroupsCommand>
    • selectRows

      protected void selectRows(int columnPosition, int[] rowPositions, boolean withShiftMask, boolean withControlMask, int rowPositionToMoveIntoViewport, boolean moveAnchorToTopOfGroup)
      Trigger the selection of rows.
      Parameters:
      columnPosition - column position needed for the selection anchor.
      rowPositions - the row to select.
      withShiftMask - if shift mask selection behavior is enabled or not.
      withControlMask - if control mask selection behavior is enabled or not.
      rowPositionToMoveIntoViewport - true if the selected row should be moved into the viewport to make it visible.
      moveAnchorToTopOfGroup - true if the selection anchor should be moved to the first row in the group.
      Since:
      2.0