Interface IMouseAction
-
- All Known Subinterfaces:
IMouseClickAction
- All Known Implementing Classes:
AbstractMouseSelectionAction,AutoResizeColumnAction,AutoResizeRowAction,ButtonCellPainter,ClearAllFiltersAction,ClearCursorAction,ClearFilterAction,ClearHoverStylingAction,ColumnGroupExpandCollapseAction,ColumnResizeCursorAction,FillHandleCursorAction,HierarchicalTreeExpandCollapseAction,HorizontalResizeCursorAction,HoverStylingAction,MouseActionFixture,MouseEditAction,NoOpMouseAction,PopupMenuAction,RowGroupExpandCollapseAction,RowResizeCursorAction,SelectCellAction,SelectRowAction,SelectRowGroupsAction,SortColumnAction,ToggleCheckBoxColumnAction,ToggleSelectCellAction,TreeExpandCollapseAction,VerticalResizeCursorAction,ViewportSelectColumnAction,ViewportSelectColumnGroupAction,ViewportSelectRowAction,ViewportSelectRowGroupAction
public interface IMouseActionImplementing this interface will create an action that translates an SWT MouseEvent into a command that should be executed in the NatTable.This concept allows to catch general MouseEvents on the NatTable control itself, and translate it into commands that correspond to a cell which is determined via x/y coordinates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrun(NatTable natTable, org.eclipse.swt.events.MouseEvent event)Translates the SWT MouseEvent to a NatTable command and executes that command accordingly.
-
-
-
Method Detail
-
run
void run(NatTable natTable, org.eclipse.swt.events.MouseEvent event)
Translates the SWT MouseEvent to a NatTable command and executes that command accordingly.- Parameters:
natTable- The NatTable instance on which the MouseEvent was fired and on which the command should be executed.event- The received MouseEvent.
-
-