Interface FilterTableCellRenderer<T>

Type Parameters:
T - the column type
All Superinterfaces:
TableCellRenderer

public interface FilterTableCellRenderer<T> extends TableCellRenderer
  • Field Details

    • TABLE_CELL_LEFT_PADDING

      static final PropertyValue<Integer> TABLE_CELL_LEFT_PADDING
      The default left padding for table cells.
      • Value type: Integer
      • Default value: 0
    • TABLE_CELL_RIGHT_PADDING

      static final PropertyValue<Integer> TABLE_CELL_RIGHT_PADDING
      The default right padding for table cells.
      • Value type: Integer
      • Default value: 5
    • NUMERICAL_HORIZONTAL_ALIGNMENT

      static final PropertyValue<Integer> NUMERICAL_HORIZONTAL_ALIGNMENT
      The default horizontal alignment for numerical columns.
    • TEMPORAL_HORIZONTAL_ALIGNMENT

      static final PropertyValue<Integer> TEMPORAL_HORIZONTAL_ALIGNMENT
      The default horizontal alignment for temporal columns.
    • BOOLEAN_HORIZONTAL_ALIGNMENT

      static final PropertyValue<Integer> BOOLEAN_HORIZONTAL_ALIGNMENT
      The default horizontal alignment for boolean columns.
    • HORIZONTAL_ALIGNMENT

      static final PropertyValue<Integer> HORIZONTAL_ALIGNMENT
      The default horizontal alignment.
    • ALTERNATE_ROW_COLORING

      static final PropertyValue<Boolean> ALTERNATE_ROW_COLORING
      Specifies whether alternate row coloring is enabled by default.
      • Value type: Boolean
      • Default value: true
  • Method Details

    • columnClass

      Class<T> columnClass()
      Returns:
      the column class
    • filterIndicator

      boolean filterIndicator()
      Returns:
      true if an enabled filter should be indicated
    • alternateRowColoring

      boolean alternateRowColoring()
      Returns:
      true if alternate row coloring is enabled
    • horizontalAlignment

      int horizontalAlignment()
      Returns:
      the horizontal alignment
    • builder

      static <R, C, T> FilterTableCellRenderer.Builder<R,C,T> builder(Class<T> columnClass)
      Type Parameters:
      R - the row type
      C - the column identifier type
      T - the cell value type
      Parameters:
      columnClass - the column class
      Returns:
      a new FilterTableCellRenderer.Builder instance
    • factory

      static <R, C> FilterTableCellRenderer.Factory<R,C> factory()
      Type Parameters:
      R - the row type
      C - the column identifier type
      Returns:
      a new default FilterTableCellRenderer.Factory instance