Class AbstractMouseSelectionAction

All Implemented Interfaces:
Direct Known Subclasses:
SelectCellAction, SelectRowAction, SelectRowGroupsAction

public class AbstractMouseSelectionAction extends Object implements IMouseAction
  • Constructor Details

    • AbstractMouseSelectionAction

      public AbstractMouseSelectionAction()
  • Method Details

    • run

      public void run(NatTable natTable, event)
      Description copied from interface: IMouseAction
      Translates the SWT MouseEvent to a NatTable command and executes that command accordingly.
      Specified by:
      run in interface IMouseAction
      natTable - The NatTable instance on which the MouseEvent was fired and on which the command should be executed.
      event - The received MouseEvent.
    • isWithShiftMask

      public boolean isWithShiftMask()
    • isWithControlMask

      public boolean isWithControlMask()
    • getGridColumnPosition

      public int getGridColumnPosition()
    • getGridRowPosition

      public int getGridRowPosition()