public class TableCellButtonEditor extends DefaultCellEditor
TableCellButtonEditor.DefaultCellEditor.EditorDelegateclickCountToStart, delegate, editorComponentchangeEvent, listenerList| Constructor and Description |
|---|
TableCellButtonEditor(JCheckBox checkBox)
Instantiates a new
TableCellButtonEditor object. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCellEditorValue() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
protected void |
onClick()
Callback method to interact when the button is clicked.
|
boolean |
stopCellEditing() |
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCelladdCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, removeCellEditorListenerpublic TableCellButtonEditor(JCheckBox checkBox)
TableCellButtonEditor object.checkBox - the check boxpublic Object getCellEditorValue()
getCellEditorValue in interface CellEditorgetCellEditorValue in class DefaultCellEditorpublic Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditorgetTableCellEditorComponent in class DefaultCellEditorprotected void onClick()
public boolean stopCellEditing()
stopCellEditing in interface CellEditorstopCellEditing in class DefaultCellEditorCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.