| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public abstract class AbstractCellEditor extends Object implements CellEditor, Serializable
Field Summary | |
---|---|
protected transient ChangeEvent |
changeEvent
|
protected EventListenerList |
listenerList
|
Constructor Summary | |
---|---|
|
Method Summary | |
---|---|
void |
Adds a CellEditorListener to the listener list.
|
void |
Calls fireEditingCanceled .
|
protected void |
Notifies all listeners that have registered interest for notification on this event type. |
protected void |
Notifies all listeners that have registered interest for notification on this event type. |
CellEditorListener[] |
Returns an array of all the CellEditorListener s added
to this AbstractCellEditor with addCellEditorListener().
|
boolean |
Returns true. |
void |
Removes a CellEditorListener from the listener list.
|
boolean |
shouldSelectCell(EventObject anEvent) Returns true. |
boolean |
Calls fireEditingStopped and returns true.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient ChangeEvent changeEvent
protected EventListenerList listenerList
Constructor Detail |
---|
public AbstractCellEditor()
Method Detail |
---|
public void addCellEditorListener(CellEditorListener l)
CellEditorListener
to the listener list.
l
- the new listener to be addedpublic void cancelCellEditing()
fireEditingCanceled
.
protected void fireEditingCanceled()
protected void fireEditingStopped()
public CellEditorListener[] getCellEditorListeners()
CellEditorListener
s added
to this AbstractCellEditor with addCellEditorListener().
CellEditorListener
s added or an empty
array if no listeners have been addedpublic boolean isCellEditable(EventObject e)
e
- an event objectpublic void removeCellEditorListener(CellEditorListener l)
CellEditorListener
from the listener list.
l
- the listener to be removedpublic boolean shouldSelectCell(EventObject anEvent)
anEvent
- an event objectpublic boolean stopCellEditing()
fireEditingStopped
and returns true.
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |