Package ucar.ui.table
Class AbstractCellEditor
- java.lang.Object
-
- ucar.ui.table.AbstractCellEditor
-
- All Implemented Interfaces:
CellEditor
- Direct Known Subclasses:
JTreeTable.TreeTableCellEditor
public class AbstractCellEditor extends Object implements CellEditor
-
-
Field Summary
Fields Modifier and Type Field Description protected EventListenerList
listenerList
-
Constructor Summary
Constructors Constructor Description AbstractCellEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCellEditorListener(CellEditorListener l)
void
cancelCellEditing()
protected void
fireEditingCanceled()
protected void
fireEditingStopped()
Object
getCellEditorValue()
boolean
isCellEditable(EventObject e)
void
removeCellEditorListener(CellEditorListener l)
boolean
shouldSelectCell(EventObject anEvent)
boolean
stopCellEditing()
-
-
-
Field Detail
-
listenerList
protected EventListenerList listenerList
-
-
Method Detail
-
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interfaceCellEditor
-
isCellEditable
public boolean isCellEditable(EventObject e)
- Specified by:
isCellEditable
in interfaceCellEditor
-
shouldSelectCell
public boolean shouldSelectCell(EventObject anEvent)
- Specified by:
shouldSelectCell
in interfaceCellEditor
-
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditing
in interfaceCellEditor
-
cancelCellEditing
public void cancelCellEditing()
- Specified by:
cancelCellEditing
in interfaceCellEditor
-
addCellEditorListener
public void addCellEditorListener(CellEditorListener l)
- Specified by:
addCellEditorListener
in interfaceCellEditor
-
removeCellEditorListener
public void removeCellEditorListener(CellEditorListener l)
- Specified by:
removeCellEditorListener
in interfaceCellEditor
-
fireEditingStopped
protected void fireEditingStopped()
-
fireEditingCanceled
protected void fireEditingCanceled()
-
-