org.eclipse.nebula.widgets.nattable.ui.action
Interface IMouseAction

All Known Subinterfaces:
IMouseClickAction
All Known Implementing Classes:
AbstractMouseSelectionAction, AutoResizeColumnAction, AutoResizeRowAction, ButtonCellPainter, ClearAllFiltersAction, ClearCursorAction, ClearFilterAction, ClearHoverStylingAction, ColumnGroupExpandCollapseAction, ColumnResizeCursorAction, HoverStylingAction, MouseActionFixture, MouseEditAction, NoOpMouseAction, PopupMenuAction, RowGroupExpandCollapseAction, RowResizeCursorAction, SelectCellAction, SelectRowAction, SelectRowGroupsAction, SortColumnAction, ToggleCheckBoxColumnAction, ToggleSelectCellAction, TreeExpandCollapseAction, ViewportSelectColumnAction, ViewportSelectRowAction

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
 void run(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.


Copyright © 2014. All rights reserved.