Interface IComboBoxDataProvider

All Known Implementing Classes:
FilterRowComboBoxDataProvider, GlazedListsFilterRowComboBoxDataProvider

public interface IComboBoxDataProvider
Interface to specify a data provider for ComboBoxCellEditors in NatTable. Using such a data provider allows to specify dynamic content for the combo box.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<?>
    getValues(int columnIndex, int rowIndex)
    Will determine the values for the cell at the specified position.
  • Method Details

    • getValues

      List<?> getValues(int columnIndex, int rowIndex)
      Will determine the values for the cell at the specified position. It will return a list with canonical values. The registered IDisplayConverter will handle the conversion to display values when the ComboBoxCellEditor is filled with the selectable items. There is no need to convert within this method.
      Parameters:
      columnIndex - The column index of the cell whose ComboBoxCellEditor should be filled.
      rowIndex - The row index of the cell whose ComboBoxCellEditor should be filled.
      Returns:
      List of values that should be used to fill the values of the ComboBoxCellEditor