public class DefaultEditBindings extends AbstractUiBindingConfiguration
By default GridRegion.BODY
is used for the matchers to evaluate if an editor
should be activated. By doing this only the editing in the body layer stack of a grid
is enabled.
Note: For typical ICellEditor
s there is no special registering necessary like
it was previous to 1.0.0. Only ICellEditor
s that return false
for ICellEditor.activateAtAnyPosition()
need to register a custom
IMouseEventMatcher
to determine whether to activate the editor or not,
regarding the correct position. This is for example necessary for the CheckboxCellEditor
that is configured with the corresponding CheckBoxPainter
, so the editor is only
activated if the checkbox item is clicked, not any other position in the cell.
Constructor and Description |
---|
DefaultEditBindings() |
Modifier and Type | Method and Description |
---|---|
void |
configureUiBindings(UiBindingRegistry uiBindingRegistry)
Configure NatTable's
IConfigRegistry upon receiving this call back
A mechanism to customize key/mouse bindings. |
configureLayer, configureRegistry
public void configureUiBindings(UiBindingRegistry uiBindingRegistry)
IConfiguration
IConfigRegistry
upon receiving this call back
A mechanism to customize key/mouse bindings.Copyright © 2013. All Rights Reserved.