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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidNotify all listeners that have registered interest for notification on this event type.protected voidNotify all listeners that have registered interest for notification on this event type.booleanvoidbooleanshouldSelectCell(EventObject anEvent) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.CellEditor
cancelCellEditing
-
Field Details
-
listenerList
-
-
Constructor Details
-
AbstractCellEditor
public AbstractCellEditor()
-
-
Method Details
-
getCellEditorValue
- Specified by:
getCellEditorValuein interfaceCellEditor
-
isCellEditable
- Specified by:
isCellEditablein interfaceCellEditor
-
shouldSelectCell
- Specified by:
shouldSelectCellin interfaceCellEditor
-
stopCellEditing
public boolean stopCellEditing()- Specified by:
stopCellEditingin interfaceCellEditor
-
addCellEditorListener
- Specified by:
addCellEditorListenerin interfaceCellEditor
-
removeCellEditorListener
- Specified by:
removeCellEditorListenerin 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:
-