javax.swing
public interface CellEditor
Method Summary | |
---|---|
void | addCellEditorListener(CellEditorListener listener)
Registers a listener to receive {@link 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 {@link 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.
|
CellEditor
.
Parameters: listener the listener.
CellEditor
that it should cancel editing.CellEditor
.
Returns: The value.
true
if the specified event makes the editor
editable, and false
otherwise.
Parameters: event the event.
Returns: A boolean.
CellEditor
.
Parameters: listener the listener.
Parameters: event TODO
Returns: boolean
CellEditor
that it should stop editing,
accepting the current cell value, and returns true
if the
editor actually stops editing, and false
otherwise.
Returns: A boolean.