Cytoscape 3.0.0-beta1 API

org.cytoscape.util.swing
Class AbstractCellEditor

java.lang.Object
  extended by org.cytoscape.util.swing.AbstractCellEditor
All Implemented Interfaces:
CellEditor
Direct Known Subclasses:
JTreeTable.TreeTableCellEditor

public abstract class AbstractCellEditor
extends Object
implements CellEditor

An abstract, convenience implementation of a Cell Editor that really only adds event listener support. All other methods should be probably be overridden.


Cytoscape Backwards Compatibility (Abstract Class): This class is abstract and meant to be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.

Field Summary
protected  EventListenerList listenerList
           
 
Constructor Summary
AbstractCellEditor()
           
 
Method Summary
 void addCellEditorListener(CellEditorListener l)
          
protected  void fireEditingCanceled()
          Notify all listeners that have registered interest for notification on this event type.
protected  void fireEditingStopped()
          Notify all listeners that have registered interest for notification on this event type.
 Object getCellEditorValue()
          
 boolean isCellEditable(EventObject e)
          
 void removeCellEditorListener(CellEditorListener l)
          
 boolean shouldSelectCell(EventObject anEvent)
          
 boolean 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
cancelCellEditing
 

Field Detail

listenerList

protected EventListenerList listenerList
Constructor Detail

AbstractCellEditor

public AbstractCellEditor()
Method Detail

getCellEditorValue

public Object getCellEditorValue()

Specified by:
getCellEditorValue in interface CellEditor

isCellEditable

public boolean isCellEditable(EventObject e)

Specified by:
isCellEditable in interface CellEditor

shouldSelectCell

public boolean shouldSelectCell(EventObject anEvent)

Specified by:
shouldSelectCell in interface CellEditor

stopCellEditing

public boolean stopCellEditing()

Specified by:
stopCellEditing in interface CellEditor

addCellEditorListener

public void addCellEditorListener(CellEditorListener l)

Specified by:
addCellEditorListener in interface CellEditor

removeCellEditorListener

public void removeCellEditorListener(CellEditorListener l)

Specified by:
removeCellEditorListener in interface CellEditor

fireEditingStopped

protected void fireEditingStopped()
Notify all listeners that have registered interest for notification on this event type.

See Also:
EventListenerList

fireEditingCanceled

protected void fireEditingCanceled()
Notify all listeners that have registered interest for notification on this event type.

See Also:
EventListenerList

Cytoscape 3.0.0-beta1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.