Class SimpleHoverStylingBindings
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.config.AbstractUiBindingConfiguration
-
- org.eclipse.nebula.widgets.nattable.hover.config.SimpleHoverStylingBindings
-
- All Implemented Interfaces:
IConfiguration
public class SimpleHoverStylingBindings extends AbstractUiBindingConfiguration
UI bindings for applying and clearing styles when moving the mouse over NatTable cells.This configuration should be used if a table without headers is rendered. The reason for this is that the client area is the whole available area in such a case, so if the area is bigger than the rendered table, the hovering wouldn't be removed if the mouse cursor is moved out of the cells but still in the area.
- See Also:
HoverLayer
-
-
Constructor Summary
Constructors Constructor Description SimpleHoverStylingBindings(HoverLayer layer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureUiBindings(UiBindingRegistry uiBindingRegistry)
Configure NatTable'sUiBindingRegistry
upon receiving this callback.-
Methods inherited from class org.eclipse.nebula.widgets.nattable.config.AbstractUiBindingConfiguration
configureLayer, configureRegistry
-
-
-
-
Constructor Detail
-
SimpleHoverStylingBindings
public SimpleHoverStylingBindings(HoverLayer layer)
- Parameters:
layer
- The HoverLayer that is used to add hover styling.
-
-
Method Detail
-
configureUiBindings
public void configureUiBindings(UiBindingRegistry uiBindingRegistry)
Description copied from interface:IConfiguration
Configure NatTable'sUiBindingRegistry
upon receiving this callback. A mechanism to customize key/mouse bindings.- Parameters:
uiBindingRegistry
- TheUiBindingRegistry
instance to register ui bindings to.
-
-