public interface TableCellRenderer
An interface used to create components which display data in a cell of a Table
.
Modifier and Type | Method and Description |
---|---|
TableLayout.Constraint |
createCellConstraint(Table table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column) |
Component |
getTableCellRendererComponent(Table table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
Create a component to display the content of a particular cell of the table.
|
Component getTableCellRendererComponent(Table table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
Create a component to display the content of a particular cell of the table.
table
- The table.value
- The cell value to display.isSelected
- Whether the cell is currently selected.hasFocus
- Whether the cell currently has focus.row
- The row number (0-based).column
- The column number (0-based)TableLayout.Constraint createCellConstraint(Table table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
Copyright © 2021. All Rights Reserved.