Inherits javax::swing::AbstractCellEditor, and javax::swing::table::TableCellEditor.
Public Member Functions | |
MyCellEditor (JDynAct dynActDlg) | |
Component | getTableCellEditorComponent (JTable table, Object value, boolean isSelected, int row, int column) |
void | stopEditing () |
Object | getCellEditorValue () |
Package Attributes | |
JDynAct | m_dynActDlg |
JButton | releaseBtn |
MyCellEditor is the cell editor that shows the button in the table
alma.demo.dyncomp.MyCellEditor.MyCellEditor | ( | JDynAct | dynActDlg | ) |
Object alma.demo.dyncomp.MyCellEditor.getCellEditorValue | ( | ) |
Return the value of the just edit cell
Component alma.demo.dyncomp.MyCellEditor.getTableCellEditorComponent | ( | JTable | table, | |
Object | value, | |||
boolean | isSelected, | |||
int | row, | |||
int | column | |||
) |
Return the component to show when the user edit the second column of the table
table | The table that has to be edit | |
value | The actual value of the cell (not used) | |
isSelected | ||
row | The row of the cell | |
column | The column of the cell |
References alma.demo.dyncomp.MyCellEditor.m_dynActDlg, and alma.demo.dyncomp.MyCellEditor.releaseBtn.
void alma.demo.dyncomp.MyCellEditor.stopEditing | ( | ) |
Stops the editing so that the button is deleted
References alma.demo.dyncomp.MyCellEditor.releaseBtn.
JButton alma.demo.dyncomp.MyCellEditor.releaseBtn [package] |