public class ComboBoxFilterRowConfiguration extends AbstractRegistryConfiguration
Modifier and Type | Field and Description |
---|---|
protected ICellEditor |
cellEditor
The ICellEditor that should be used for the filter cells.
|
protected ImagePainter |
filterIconPainter
The ImagePainter that will be registered as the painter of the combobox cells
in the filter row.
|
Constructor and Description |
---|
ComboBoxFilterRowConfiguration()
The empty default constructor needed for specialising.
|
ComboBoxFilterRowConfiguration(IComboBoxDataProvider comboBoxDataProvider)
Create a ComboBoxFilterRowConfiguration that uses the default FilterRowComboBoxCellEditor showing the
maximum number of 10 items at once and the ComboBoxFilterIconPainter with the default filter icon.
|
Modifier and Type | Method and Description |
---|---|
void |
configureRegistry(IConfigRegistry configRegistry)
Configure NatTable's
IConfigRegistry upon receiving this call back. |
configureLayer, configureUiBindings
protected ICellEditor cellEditor
protected ImagePainter filterIconPainter
public ComboBoxFilterRowConfiguration()
Note: On using this constructor you need to ensure that the local member variables for cellEditor and filterIconPainter need to be set manually. Otherwise this configuration will not work correctly!
public ComboBoxFilterRowConfiguration(IComboBoxDataProvider comboBoxDataProvider)
comboBoxDataProvider
- The IComboBoxDataProvider that is used to fill the filter row comboboxes.public void configureRegistry(IConfigRegistry configRegistry)
IConfiguration
IConfigRegistry
upon receiving this call back.
A mechanism to plug-in custom ICellPainter
, IDataValidator
etc.Copyright © 2013. All Rights Reserved.