Class 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 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's UiBindingRegistry upon receiving this callback. A mechanism to customize key/mouse bindings.
        Parameters:
        uiBindingRegistry - The UiBindingRegistry instance to register ui bindings to.