issrg.editor2.obligations
Class CoordTableCellEditor
java.lang.Object
issrg.editor2.obligations.CoordTableCellEditor
- All Implemented Interfaces:
- javax.swing.CellEditor, javax.swing.table.TableCellEditor
public class CoordTableCellEditor
- extends java.lang.Object
- implements javax.swing.table.TableCellEditor
This Class justifies what occurs on editing the coordination table. It basically
allows each being edited JComponent to behave as it normally would not inside
a JTable.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listenerList
protected javax.swing.event.EventListenerList listenerList
changeEvent
protected transient javax.swing.event.ChangeEvent changeEvent
editorComponent
protected javax.swing.JComponent editorComponent
container
protected javax.swing.JComponent container
CoordTableCellEditor
public CoordTableCellEditor()
getComponent
public java.awt.Component getComponent()
getCellEditorValue
public java.lang.Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface javax.swing.CellEditor
isCellEditable
public boolean isCellEditable(java.util.EventObject anEvent)
- Specified by:
isCellEditable
in interface javax.swing.CellEditor
shouldSelectCell
public boolean shouldSelectCell(java.util.EventObject anEvent)
- Specified by:
shouldSelectCell
in interface javax.swing.CellEditor
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditing
in interface javax.swing.CellEditor
cancelCellEditing
public void cancelCellEditing()
- Specified by:
cancelCellEditing
in interface javax.swing.CellEditor
addCellEditorListener
public void addCellEditorListener(javax.swing.event.CellEditorListener l)
- Specified by:
addCellEditorListener
in interface javax.swing.CellEditor
removeCellEditorListener
public void removeCellEditorListener(javax.swing.event.CellEditorListener l)
- Specified by:
removeCellEditorListener
in interface javax.swing.CellEditor
fireEditingStopped
protected void fireEditingStopped()
fireEditingCanceled
protected void fireEditingCanceled()
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