likelihoodDetectionModule
Class AbstractCellEditor

java.lang.Object
  extended by likelihoodDetectionModule.AbstractCellEditor
All Implemented Interfaces:
javax.swing.CellEditor
Direct Known Subclasses:
TreeTable.TreeTableCellEditor

public class AbstractCellEditor
extends java.lang.Object
implements javax.swing.CellEditor

The class AbstractCellEditor serves as the base class for the TreeTable's table cell editor. It provides additional functionality that would be required when the TreeTableCellEditor inherits TableCellEditor. This is broken out to help keep the TreeTableCellEditor code short and to-the-point within the TreeTable class.


Field Summary
protected  javax.swing.event.EventListenerList listenerList
          The listener list.
 
Constructor Summary
AbstractCellEditor()
           
 
Method Summary
 void addCellEditorListener(javax.swing.event.CellEditorListener l)
           
 void cancelCellEditing()
           
protected  void fireEditingCanceled()
           
protected  void fireEditingStopped()
           
 java.lang.Object getCellEditorValue()
           
 boolean isCellEditable(java.util.EventObject e)
           
 void removeCellEditorListener(javax.swing.event.CellEditorListener l)
           
 boolean shouldSelectCell(java.util.EventObject anEvent)
           
 boolean stopCellEditing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listenerList

protected javax.swing.event.EventListenerList listenerList
The listener list.

Constructor Detail

AbstractCellEditor

public AbstractCellEditor()
Method Detail

getCellEditorValue

public java.lang.Object getCellEditorValue()
Specified by:
getCellEditorValue in interface javax.swing.CellEditor

isCellEditable

public boolean isCellEditable(java.util.EventObject e)
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()