Interface FilterTableCellRenderer.Customizer<R,C>

Type Parameters:
R - the row type
C - the column identifier type
Enclosing interface:
FilterTableCellRenderer<R,C,T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface FilterTableCellRenderer.Customizer<R,C>
Customizes a renderer component for a given cell

Note that when FilterTable.ROWS_FILL_VIEWPORT is enabled, the row instance received by customize(FilterTable, Object, Object, JComponent) is null, when rendering outside the available table rows.

See Also:
  • Method Details

    • enabled

      default boolean enabled()
      Returns:
      true if this customizer is enabled
    • customize

      void customize(FilterTable<R,C> table, @Nullable R row, C identifier, JComponent component)
      Parameters:
      table - the table
      row - the row, null when rendering outside the available table rows
      identifier - the column identifier
      component - the renderer component