public class DefaultEditConfiguration extends AbstractLayerConfiguration<AbstractLayer>
EditCellCommandHandler
and the InlineCellEditEventHandler
to the layer this configuration is added to. Usually this configuration is added to
a GridLayer.
It also registers default values on top-level for the following EditConfigAttributes
:
EditConfigAttributes.CELL_EDITABLE_RULE
- IEditableRule.NEVER_EDITABLEEditConfigAttributes
- TextCellEditor
EditConfigAttributes
- DefaultDataValidator
true
, regardless of the
entered valueConstructor and Description |
---|
DefaultEditConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
configureRegistry(IConfigRegistry configRegistry)
Configure NatTable's
IConfigRegistry upon receiving this call back. |
void |
configureTypedLayer(AbstractLayer layer) |
configureLayer, configureUiBindings
public void configureTypedLayer(AbstractLayer layer)
configureTypedLayer
in class AbstractLayerConfiguration<AbstractLayer>
public void configureRegistry(IConfigRegistry configRegistry)
IConfiguration
IConfigRegistry
upon receiving this call back.
A mechanism to plug-in custom ICellPainter
, IDataValidator
etc.configureRegistry
in interface IConfiguration
configureRegistry
in class AbstractLayerConfiguration<AbstractLayer>
Copyright © 2013. All Rights Reserved.