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 - TextCellEditorEditConfigAttributes - DefaultDataValidatortrue,
regardless of the entered value| Constructor 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, configureUiBindingspublic void configureTypedLayer(AbstractLayer layer)
configureTypedLayer in class AbstractLayerConfiguration<AbstractLayer>public void configureRegistry(IConfigRegistry configRegistry)
IConfigurationIConfigRegistry upon receiving this call
back. A mechanism to plug-in custom ICellPainter,
IDataValidator etc.configureRegistry in interface IConfigurationconfigureRegistry in class AbstractLayerConfiguration<AbstractLayer>configRegistry - The IConfigRegistry instance to register configuration
values to.Copyright © 2019. All rights reserved.