Interface IMouseAction
- All Known Subinterfaces:
IMouseClickAction
- All Known Implementing Classes:
AbstractMouseSelectionAction,AutoResizeColumnAction,AutoResizeRowAction,ButtonCellPainter,ClearAllFiltersAction,ClearCursorAction,ClearFilterAction,ClearHoverStylingAction,ColumnGroupExpandCollapseAction,ColumnResizeCursorAction,FillHandleCursorAction,HierarchicalTreeExpandCollapseAction,HorizontalResizeCursorAction,HoverStylingAction,HoverStylingByIndexAction,MouseActionFixture,MouseEditAction,MouseMoveAction,NoOpMouseAction,PopupMenuAction,RowGroupExpandCollapseAction,RowResizeCursorAction,SelectCellAction,SelectRowAction,SelectRowGroupsAction,ShowColumnInViewportAction,SortColumnAction,ToggleCheckBoxColumnAction,ToggleSelectCellAction,TreeExpandCollapseAction,VerticalResizeCursorAction,ViewportSelectColumnAction,ViewportSelectColumnGroupAction,ViewportSelectRowAction,ViewportSelectRowGroupAction
public interface IMouseAction
Implementing 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
-
Method Details
-
run
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.
-