Class HoverStylingByIndexAction
java.lang.Object
org.eclipse.nebula.widgets.nattable.hover.action.HoverStylingByIndexAction
- All Implemented Interfaces:
IMouseAction
Action that will execute the HoverStylingByIndexCommand which applies hover
styling in a NatTable.
Will also clear any set cursor by default.
- Since:
- 2.1
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HoverStylingByIndexAction
- Parameters:
hoverLayer- The HoverLayer that is responsible for handling the hover styling command. Necessary to avoid that other HoverLayer instances in a grid composition handle and consume the command.
-
-
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.
-