Module is.codion.swing.common.ui
Interface FilterTableCellRenderer.Customizer<R,C>
- Type Parameters:
R- the row typeC- 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.
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 Summary
Modifier and TypeMethodDescriptionvoidcustomize(FilterTable<R, C> table, @Nullable R row, C identifier, JComponent component) default booleanenabled()
-
Method Details
-
enabled
default boolean enabled()- Returns:
- true if this customizer is enabled
-
customize
- Parameters:
table- the tablerow- the row, null when rendering outside the available table rowsidentifier- the column identifiercomponent- the renderer component
-