Package org.jppf.ui.treetable
Class AbstractCellEditor
java.lang.Object
org.jppf.ui.treetable.AbstractCellEditor
- All Implemented Interfaces:
CellEditor
- Direct Known Subclasses:
JTreeTable.TreeTableCellEditor
Abstract cell editor for the tree table.
- Author:
- Philip Milne, Scott Violet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EventListenerListThe list of listeners for this cell editor. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprotected 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.Returns the value contained in the editor.booleanisCellEditable(EventObject event) Asks the editor if it can start editing usinganEvent.voidbooleanshouldSelectCell(EventObject anEvent) boolean
-
Field Details
-
listenerList
The list of listeners for this cell editor.
-
-
Constructor Details
-
AbstractCellEditor
public AbstractCellEditor()
-
-
Method Details
-
getCellEditorValue
Returns the value contained in the editor. This method always returns null.- Specified by:
getCellEditorValuein interfaceCellEditor- Returns:
null.- See Also:
-
isCellEditable
Asks the editor if it can start editing usinganEvent. This method always returns true.- Specified by:
isCellEditablein interfaceCellEditor- Parameters:
event- the event the editor should use to consider whether to begin editing or not.- Returns:
true.
-
shouldSelectCell
- Specified by:
shouldSelectCellin interfaceCellEditor
-
stopCellEditing
public boolean stopCellEditing()- Specified by:
stopCellEditingin interfaceCellEditor
-
cancelCellEditing
public void cancelCellEditing()- Specified by:
cancelCellEditingin 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:
-