Interface FilterTable.Builder<R,C>

Type Parameters:
R - the type representing rows
C - the type used to identify columns
All Superinterfaces:
ComponentBuilder<Void,FilterTable<R,C>,FilterTable.Builder<R,C>>
Enclosing class:
FilterTable<R,C>

public static interface FilterTable.Builder<R,C> extends ComponentBuilder<Void,FilterTable<R,C>,FilterTable.Builder<R,C>>
A builder for a FilterTable
  • Method Details

    • summaryValuesFactory

      FilterTable.Builder<R,C> summaryValuesFactory(ColumnSummaryModel.SummaryValues.Factory<C> summaryValuesFactory)
      Parameters:
      summaryValuesFactory - the column summary values factory
      Returns:
      this builder instance
    • filterFieldFactory

      FilterTable.Builder<R,C> filterFieldFactory(FilterColumnConditionPanel.FieldFactory<C> filterFieldFactory)
      Parameters:
      filterFieldFactory - the column filter field factory
      Returns:
      this builder instance
      See Also:
    • cellRendererFactory

      FilterTable.Builder<R,C> cellRendererFactory(FilterTableCellRendererFactory<C> cellRendererFactory)
      Note that this factory is only used to create cell renderers for columns which do not already have a cell renderer set.
      Parameters:
      cellRendererFactory - the table cell renderer factory
      Returns:
      this builder instance
    • autoStartsEdit

      FilterTable.Builder<R,C> autoStartsEdit(boolean autoStartsEdit)
      Parameters:
      autoStartsEdit - true if editing should start automatically
      Returns:
      this builder instance
    • centerOnScroll

      FilterTable.Builder<R,C> centerOnScroll(FilterTable.CenterOnScroll centerOnScroll)
      Parameters:
      centerOnScroll - the center on scroll behavious
      Returns:
      this builder instance
    • doubleClickAction

      FilterTable.Builder<R,C> doubleClickAction(Action doubleClickAction)
      Parameters:
      doubleClickAction - the double click action
      Returns:
      this builder instance
    • scrollToSelectedItem

      FilterTable.Builder<R,C> scrollToSelectedItem(boolean scrollToSelectedItem)
      Parameters:
      scrollToSelectedItem - true if this table should scroll to the selected item
      Returns:
      this builder instance
    • sortingEnabled

      FilterTable.Builder<R,C> sortingEnabled(boolean sortingEnabled)
      Parameters:
      sortingEnabled - true if sorting via clicking the header should be enbled
      Returns:
      this builder instance
    • selectionMode

      FilterTable.Builder<R,C> selectionMode(int selectionMode)
      Parameters:
      selectionMode - the table selection mode
      Returns:
      this builder instance
      See Also:
    • columnReorderingAllowed

      FilterTable.Builder<R,C> columnReorderingAllowed(boolean columnReorderingAllowed)
      Parameters:
      columnReorderingAllowed - true if column reordering should be allowed
      Returns:
      this builder instance
    • columnResizingAllowed

      FilterTable.Builder<R,C> columnResizingAllowed(boolean columnResizingAllowed)
      Parameters:
      columnResizingAllowed - true if column resizing should be allowed
      Returns:
      this builder instance
    • autoResizeMode

      FilterTable.Builder<R,C> autoResizeMode(int autoResizeMode)
      Parameters:
      autoResizeMode - the table auto column resizing mode
      Returns:
      this builder instance
    • filterState

      Parameters:
      filterState - the initial filter panel state
      Returns:
      this builder instance
    • keyStrokes

      FilterTable.Builder<R,C> keyStrokes(Consumer<ControlKeyStrokes> keyStrokes)
      Parameters:
      keyStrokes - provides this tables ControlKeyStrokes instance.
      Returns:
      this builder instance