Inherits javax::swing::JButton, and javax::swing::table::TableCellRenderer.
Public Member Functions | |
MyCellRendererr () | |
Component | getTableCellRendererComponent (JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) |
The class used to show the button inside the table
alma.demo.dyncomp.MyCellRendererr.MyCellRendererr | ( | ) |
The constructor
Component alma.demo.dyncomp.MyCellRendererr.getTableCellRendererComponent | ( | JTable | table, | |
Object | value, | |||
boolean | isSelected, | |||
boolean | hasFocus, | |||
int | row, | |||
int | column | |||
) |
Return the button to show into the cell when the user is not editing the cell
table | The JTable that own the cell | |
value | The value of the cell | |
True | if the cell is selected | |
hasFocus | True if the cell has the focus | |
row | The row of the cell | |
column | The column of the cell |