public class DefaultSpreadsheetCellEditor extends DefaultCellEditor implements ISpreadsheetCellEditor
SpreadsheetLayer.setCellEditor(Class, ISpreadsheetCellEditor),
Serialized FormDefaultCellEditor.EditorDelegateclickCountToStart, delegate, editorComponentchangeEvent, listenerList| Constructor and Description |
|---|
DefaultSpreadsheetCellEditor(JCheckBox checkBox)
Constructs a new cell editor.
|
DefaultSpreadsheetCellEditor(JComboBox comboBox)
Constructs a new cell editor.
|
DefaultSpreadsheetCellEditor(JTextField textField)
Constructs a new cell editor.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
getSpreadsheetCellEditorComponent(SpreadsheetLayer spreadsheet,
Object value,
int row,
ITimeSpan span)
Returns a component for editing the spreadsheet cell at the given row and
time span.
|
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditingaddCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, cancelCellEditing, getCellEditorValue, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingpublic DefaultSpreadsheetCellEditor(JTextField textField)
textField - the text field that will be used for editing the cell valuepublic DefaultSpreadsheetCellEditor(JCheckBox checkBox)
checkBox - the checkbox that will be used for editing the cell valuepublic DefaultSpreadsheetCellEditor(JComboBox comboBox)
comboBox - the combo box that will be used for editing the cell valuepublic Component getSpreadsheetCellEditorComponent(SpreadsheetLayer spreadsheet, Object value, int row, ITimeSpan span)
ISpreadsheetCellEditorgetSpreadsheetCellEditorComponent in interface ISpreadsheetCellEditorspreadsheet - the spreadsheet component that requests the cell editorvalue - the current value of the cellrow - the row in which the cell is locatedspan - the time span of the cellCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.