Class AbstractMouseSelectionAction
java.lang.Object
org.eclipse.nebula.widgets.nattable.selection.action.AbstractMouseSelectionAction
- All Implemented Interfaces:
IMouseAction
- Direct Known Subclasses:
SelectCellAction,SelectRowAction,SelectRowGroupsAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintbooleanbooleanvoidTranslates the SWT MouseEvent to a NatTable command and executes that command accordingly.
-
Constructor Details
-
AbstractMouseSelectionAction
public AbstractMouseSelectionAction()
-
-
Method Details
-
run
Description copied from interface:IMouseActionTranslates the SWT MouseEvent to a NatTable command and executes that command accordingly.- Specified by:
runin interfaceIMouseAction- Parameters:
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()
-