public class BaseCellEditor extends java.lang.Object implements javax.swing.CellEditor
| Modifier and Type | Field and Description |
|---|---|
private javax.swing.event.EventListenerList |
listenerList
A list of event listeners for the cell editor.
|
| Constructor and Description |
|---|
BaseCellEditor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCellEditorListener(javax.swing.event.CellEditorListener listener) |
void |
cancelCellEditing() |
protected void |
fireEditingCanceled()
Notifies all listeners that have registered interest for
'editing canceled' event.
|
protected void |
fireEditingStopped()
Notifies all listeners that have registered interest for
'editing stopped' event.
|
java.lang.Object |
getCellEditorValue() |
boolean |
isCellEditable(java.util.EventObject event) |
void |
removeCellEditorListener(javax.swing.event.CellEditorListener listener) |
boolean |
shouldSelectCell(java.util.EventObject anEvent) |
boolean |
stopCellEditing() |
private final javax.swing.event.EventListenerList listenerList
public BaseCellEditor()
public java.lang.Object getCellEditorValue()
getCellEditorValue in interface javax.swing.CellEditorpublic boolean isCellEditable(java.util.EventObject event)
isCellEditable in interface javax.swing.CellEditorpublic boolean shouldSelectCell(java.util.EventObject anEvent)
shouldSelectCell in interface javax.swing.CellEditorpublic boolean stopCellEditing()
stopCellEditing in interface javax.swing.CellEditorpublic void cancelCellEditing()
cancelCellEditing in interface javax.swing.CellEditorpublic void addCellEditorListener(javax.swing.event.CellEditorListener listener)
addCellEditorListener in interface javax.swing.CellEditorpublic void removeCellEditorListener(javax.swing.event.CellEditorListener listener)
removeCellEditorListener in interface javax.swing.CellEditorprotected void fireEditingStopped()
EventListenerListprotected void fireEditingCanceled()
EventListenerListCopyright © 2001-2022. All Rights Reserved.