Interface ComboEditingSupport.FinalBuilder<T,E,R>

All Known Implementing Classes:
AutoCompleteComboEditingSupport.Builder, ComboEditingSupport.Builder, DynamicAutoCompleteComboEditingSupport.Builder
Enclosing class:
ComboEditingSupport

public static interface ComboEditingSupport.FinalBuilder<T,E,R>
  • Method Details

    • enableNullElement

      ComboEditingSupport.FinalBuilder<T,E,R> enableNullElement(String notSetLiteral)
      Add an element on top of other elements in the combobox to clear the table cell value.
      Parameters:
      notSetLiteral - the label of the new combobox element that clears the cell value (typical values are: "", etc.)
      Returns:
      the builder object
    • filter

      Add a filter. Only matching items will be displayed in the combobox.
      Note that there may be at most one filter. If you call this method several times, only the last method call will be effective.
    • filter

      Add a filter. Only matching items will be displayed in the combobox.
      Note that there may be at most one filter. If you call this method several times, only the last method call will be effective.
    • comparator

      ComboEditingSupport.FinalBuilder<T,E,R> comparator(Comparator<E> comparator)
      Add a comparator that is used to sort combobox values.
      Note that there may be at most one comparator. If you call this method several times, only the last method call will be effective.
    • maxComboBoxElementsCount

      ComboEditingSupport.FinalBuilder<T,E,R> maxComboBoxElementsCount(int maxComboBoxElementsCount)
      Set up the max number of values ​​in the combo box
      Parameters:
      maxComboBoxElementsCount - limit on the number of elements in the combo box
    • build

      R build()
      This is the finalization method. Call this method to install the auto-complete combobox editing support on a table column.
    • canEdit

      Set function that returns a value that indicates whether the cell can be edited
      Parameters:
      canEdit -
      Returns:
      builder object