Module is.codion.swing.common.model
Interface FilteredTableColumn.Builder<C>
- Type Parameters:
C- the column identifier type
- Enclosing class:
- FilteredTableColumn<C>
public static interface FilteredTableColumn.Builder<C>
A builder for
FilteredTableColumn instances.-
Method Summary
Modifier and TypeMethodDescriptionbuild()cellEditor(TableCellEditor cellEditor) cellRenderer(TableCellRenderer cellRenderer) columnClass(Class<?> columnClass) comparator(Comparator<?> comparator) headerRenderer(TableCellRenderer headerRenderer) headerValue(Object headerValue) maxWidth(int maxWidth) minWidth(int minWidth) preferredWidth(int preferredWidth) resizable(boolean resizable) toolTipText(String toolTipText) width(int width)
-
Method Details
-
columnClass
- Parameters:
columnClass- the column class- Returns:
- this builder instance
-
comparator
- Parameters:
comparator- the column comparator- Returns:
- this builder instance
-
preferredWidth
- Parameters:
preferredWidth- the preferred column width- Returns:
- this builder instance
-
maxWidth
- Parameters:
maxWidth- the maximum column width- Returns:
- this builder instance
-
minWidth
- Parameters:
minWidth- the minimum column width- Returns:
- this builder instance
-
width
- Parameters:
width- the column width- Returns:
- this builder instance
-
resizable
- Parameters:
resizable- true if the column should be resizable- Returns:
- this builder instance
-
headerValue
- Parameters:
headerValue- the header value- Returns:
- this builder instance
-
headerRenderer
- Parameters:
headerRenderer- the header renderer- Returns:
- this builder instance
-
toolTipText
- Parameters:
toolTipText- the column tool tip text- Returns:
- this builder instance
-
cellEditor
- Parameters:
cellEditor- the cell editor- Returns:
- this builder instance
-
cellRenderer
- Parameters:
cellRenderer- the cell renderer- Returns:
- this builder instance
-
build
FilteredTableColumn<C> build()- Returns:
- a new
FilteredTableColumnbased on this builder
-