org.eclipse.nebula.widgets.nattable.hover.config
Class SimpleHoverStylingBindings

java.lang.Object
  extended by org.eclipse.nebula.widgets.nattable.config.AbstractUiBindingConfiguration
      extended by 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.

Author:
Dirk Fauth
See Also:
HoverLayer

Constructor Summary
SimpleHoverStylingBindings(HoverLayer layer)
           
 
Method Summary
 void configureUiBindings(UiBindingRegistry uiBindingRegistry)
          Configure NatTable's IConfigRegistry upon receiving this call back A mechanism to customize key/mouse bindings.
 
Methods inherited from class org.eclipse.nebula.widgets.nattable.config.AbstractUiBindingConfiguration
configureLayer, configureRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 IConfigRegistry upon receiving this call back A mechanism to customize key/mouse bindings.



Copyright © 2015. All rights reserved.