kiwi.ui
Class AbstractCellEditor
java.lang.Object
|
+--kiwi.ui.AbstractCellEditor
- Direct Known Subclasses:
- ImmutableCellEditor
- public class AbstractCellEditor
- extends Object
- implements CellEditor
A base class for CellEditors, providing default implementations for all
methods in the CellEditor interface and support for managing a series
of listeners.
- Version:
- 1.0
- Author:
- Philip Milne
- See Also:
CellEditor
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
listenerList
protected EventListenerList listenerList
AbstractCellEditor
public AbstractCellEditor()
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
cancelCellEditing
public void cancelCellEditing()
- Specified by:
- cancelCellEditing in interface CellEditor
addCellEditorListener
public void addCellEditorListener(CellEditorListener listener)
- Specified by:
- addCellEditorListener in interface CellEditor
removeCellEditorListener
public void removeCellEditorListener(CellEditorListener listener)
- 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