gpl.fredy.sqltools
Class TextTableCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
gpl.fredy.sqltools.TextTableCellEditor
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.util.EventListener, javax.swing.CellEditor, javax.swing.table.TableCellEditor
public class TextTableCellEditor
- extends javax.swing.AbstractCellEditor
- implements javax.swing.table.TableCellEditor, java.awt.event.ActionListener
- See Also:
- Serialized Form
Field Summary |
protected static java.lang.String |
ACCEPT
|
protected static java.lang.String |
CANCEL
|
protected static java.lang.String |
EDIT
|
Fields inherited from class javax.swing.AbstractCellEditor |
changeEvent, listenerList |
Constructor Summary |
TextTableCellEditor(java.lang.String title,
int rows,
int columns)
Creates a new instance of TextTableCellEditor |
Methods inherited from class javax.swing.AbstractCellEditor |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.CellEditor |
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
EDIT
protected static final java.lang.String EDIT
- See Also:
- Constant Field Values
ACCEPT
protected static final java.lang.String ACCEPT
- See Also:
- Constant Field Values
CANCEL
protected static final java.lang.String CANCEL
- See Also:
- Constant Field Values
TextTableCellEditor
public TextTableCellEditor(java.lang.String title,
int rows,
int columns)
- Creates a new instance of TextTableCellEditor
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
getCellEditorValue
public java.lang.Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface javax.swing.CellEditor
getTableCellEditorComponent
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
- Specified by:
getTableCellEditorComponent
in interface javax.swing.table.TableCellEditor