net.sourceforge.fixagora.basis.client.view.editor
Class SpreadSheetCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
net.sourceforge.fixagora.basis.client.view.editor.SpreadSheetCellEditor
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor
public class SpreadSheetCellEditor
- extends javax.swing.AbstractCellEditor
- implements javax.swing.table.TableCellEditor
The Class SpreadSheetCellEditor.
- See Also:
- Serialized Form
Methods inherited from class javax.swing.AbstractCellEditor |
addCellEditorListener, getCellEditorListeners, removeCellEditorListener, shouldSelectCell |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.CellEditor |
addCellEditorListener, removeCellEditorListener, shouldSelectCell |
SpreadSheetCellEditor
public SpreadSheetCellEditor(SpreadSheetTableModel spreadSheetTableModel,
SpreadSheetEditorSheet spreadSheetEditorSheet,
BasisClientConnector basisClientConnector)
- Instantiates a new spread sheet cell editor.
- Parameters:
spreadSheetTableModel
- the spread sheet table modelspreadSheetEditorSheet
- the spread sheet editor sheetbasisClientConnector
- the basis client connector
getTableCellEditorComponent
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int rowIndex,
int vColIndex)
- Specified by:
getTableCellEditorComponent
in interface javax.swing.table.TableCellEditor
isCellEditable
public boolean isCellEditable(java.util.EventObject eventObject)
- Specified by:
isCellEditable
in interface javax.swing.CellEditor
- Overrides:
isCellEditable
in class javax.swing.AbstractCellEditor
getCellEditorValue
public java.lang.Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface javax.swing.CellEditor
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditing
in interface javax.swing.CellEditor
- Overrides:
stopCellEditing
in class javax.swing.AbstractCellEditor
cancelCellEditing
public void cancelCellEditing()
- Specified by:
cancelCellEditing
in interface javax.swing.CellEditor
- Overrides:
cancelCellEditing
in class javax.swing.AbstractCellEditor
setText
public void setText(java.lang.String text)
- Sets the text.
- Parameters:
text
- the new text
getSpreadSheetCellFormat
public SpreadSheetCellFormat getSpreadSheetCellFormat()
- Gets the spread sheet cell format.
- Returns:
- the spread sheet cell format