public interface CellEditor
Modifier and Type | Method and Description |
---|---|
void |
addCellEditorListener(CellEditorListener listener)
Registers a listener to receive
ChangeEvent notifications from the
CellEditor . |
void |
cancelCellEditing()
Signals to the
CellEditor that it should cancel editing. |
Object |
getCellEditorValue()
Returns the current value for the
CellEditor . |
boolean |
isCellEditable(EventObject event)
Returns
true if the specified event makes the editor
editable, and false otherwise. |
void |
removeCellEditorListener(CellEditorListener listener)
Deregisters a listener so that it no longer receives
ChangeEvent
notifications from the CellEditor . |
boolean |
shouldSelectCell(EventObject event)
shouldSelectCell
|
boolean |
stopCellEditing()
Signals to the
CellEditor that it should stop editing,
accepting the current cell value, and returns true if the
editor actually stops editing, and false otherwise. |
Object getCellEditorValue()
CellEditor
.boolean isCellEditable(EventObject event)
true
if the specified event makes the editor
editable, and false
otherwise.event
- the event.boolean shouldSelectCell(EventObject event)
event
- TODOboolean stopCellEditing()
CellEditor
that it should stop editing,
accepting the current cell value, and returns true
if the
editor actually stops editing, and false
otherwise.void cancelCellEditing()
CellEditor
that it should cancel editing.void addCellEditorListener(CellEditorListener listener)
ChangeEvent
notifications from the
CellEditor
.listener
- the listener.void removeCellEditorListener(CellEditorListener listener)
ChangeEvent
notifications from the CellEditor
.listener
- the listener.