C - the type of component to editpublic abstract class ListPanelTableCellEditor<C extends JComponent> extends AbstractCellEditor implements TableCellEditor
JComponents in a list. Editor values aren't managed
because they are already managed by the model components.changeEvent, listenerList| Constructor and Description |
|---|
ListPanelTableCellEditor(C component) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCellEditorValue() |
C |
getComponent() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
void |
resetCellEditorValue()
Sets the editor value to
null. |
boolean |
stopCellEditing() |
protected abstract Object |
stopCellEditing0() |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCellclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCellpublic ListPanelTableCellEditor(C component)
public C getComponent()
public Object getCellEditorValue()
getCellEditorValue in interface CellEditorpublic void resetCellEditorValue()
null. Can be called after stopping
editing (which also retrieves the editor value).public boolean stopCellEditing()
stopCellEditing in interface CellEditorstopCellEditing in class AbstractCellEditorprotected abstract Object stopCellEditing0()
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditorCopyright © 2018. All rights reserved.