public class Table.JotyCellEditor
extends javax.swing.DefaultCellEditor
CheckBox
, a ComboBox
or a JotyTextField
.
The type of data managed in each case derives naturally from type of component.
The class applies on each component the same rendering elaboration that
the framework operates when it is wrapped by a Term
instance.
The class connects the editor component with the cell of the underlying NavigatorBuffer, in reading and in writing
CheckBox
,
ComboBox
,
JotyTextField
,
Serialized FormConstructor and Description |
---|
JotyCellEditor(CheckBox checkBox) |
JotyCellEditor(ComboBox comboBox) |
JotyCellEditor(JotyTextField textField) |
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column) |
boolean |
stopCellEditing() |
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
public JotyCellEditor(CheckBox checkBox)
public JotyCellEditor(ComboBox comboBox)
public JotyCellEditor(JotyTextField textField)
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface javax.swing.table.TableCellEditor
getTableCellEditorComponent
in class javax.swing.DefaultCellEditor
public boolean stopCellEditing()
stopCellEditing
in interface javax.swing.CellEditor
stopCellEditing
in class javax.swing.DefaultCellEditor