Package org.cytoscape.util.swing
Class AbstractCellEditor
java.lang.Object
org.cytoscape.util.swing.AbstractCellEditor
- All Implemented Interfaces:
CellEditor
- Direct Known Subclasses:
JTreeTable.TreeTableCellEditor
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.
Module: swing-util-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>swing-util-api</artifactId> </dependency>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
Notify all listeners that have registered interest for notification on this event type.protected void
Notify all listeners that have registered interest for notification on this event type.boolean
void
boolean
shouldSelectCell
(EventObject anEvent) boolean
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 Details
-
listenerList
-
-
Constructor Details
-
AbstractCellEditor
public AbstractCellEditor()
-
-
Method Details
-
getCellEditorValue
- Specified by:
getCellEditorValue
in interfaceCellEditor
-
isCellEditable
- Specified by:
isCellEditable
in interfaceCellEditor
-
shouldSelectCell
- Specified by:
shouldSelectCell
in interfaceCellEditor
-
stopCellEditing
public boolean stopCellEditing()- Specified by:
stopCellEditing
in interfaceCellEditor
-
addCellEditorListener
- Specified by:
addCellEditorListener
in interfaceCellEditor
-
removeCellEditorListener
- Specified by:
removeCellEditorListener
in interfaceCellEditor
-
fireEditingStopped
protected void fireEditingStopped()Notify all listeners that have registered interest for notification on this event type.- See Also:
-
fireEditingCanceled
protected void fireEditingCanceled()Notify all listeners that have registered interest for notification on this event type.- See Also:
-