CellEditors
, providing default
implementations for the methods in the CellEditor
interface except getCellEditorValue()
.
Like the other abstract implementations in Swing, also manages a list
of listeners.Warning
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeans
has been added to the java.beans
package.
Please see java.
.
Modifier and Type | Field and Description |
---|---|
protected transient ChangeEvent | changeEvent
The change event. |
protected EventListenerList | listenerList
The list of listeners. |
Access | Constructor and Description |
---|---|
protected |
Modifier and Type | Method and Description |
---|---|
public void | addCellEditorListener(CellEditorListener
the new listener to be added l)Implements javax. CellEditorListener to the listener list.
|
public void | |
protected void | fireEditingCanceled()
Notifies all listeners that have registered interest for notification on this event type. |
protected void | fireEditingStopped()
Notifies all listeners that have registered interest for notification on this event type. |
public CellEditorListener[] | Returns: all of theCellEditorListener s added or an empty
array if no listeners have been addedReturns an array of all the |
public boolean | Returns: truean event object e)Implements javax. |
public void | removeCellEditorListener(CellEditorListener
the listener to be removed l)Implements javax. CellEditorListener from the listener list.
|
public boolean | Returns: truean event object anEvent)Implements javax. |
public boolean | Returns: trueImplements javax. fireEditingStopped and returns true.
|
changeEvent | back to summary |
---|---|
protected transient ChangeEvent changeEvent The change event. |
listenerList | back to summary |
---|---|
protected EventListenerList listenerList The list of listeners. |
AbstractCellEditor | back to summary |
---|---|
protected AbstractCellEditor() Constructor for subclasses to call. |
addCellEditorListener | back to summary |
---|---|
public void addCellEditorListener(CellEditorListener l) Implements javax. Adds a
|
cancelCellEditing | back to summary |
---|---|
public void cancelCellEditing() Implements javax. Calls |
fireEditingCanceled | back to summary |
---|---|
protected void fireEditingCanceled() Notifies all listeners that have registered interest for notification on this event type. The event instance is created lazily.
|
fireEditingStopped | back to summary |
---|---|
protected void fireEditingStopped() Notifies all listeners that have registered interest for notification on this event type. The event instance is created lazily.
|
getCellEditorListeners | back to summary |
---|---|
public CellEditorListener[] getCellEditorListeners() Returns an array of all the
|
isCellEditable | back to summary |
---|---|
public boolean isCellEditable(EventObject e) Implements javax. Returns true.
|
removeCellEditorListener | back to summary |
---|---|
public void removeCellEditorListener(CellEditorListener l) Implements javax. Removes a
|
shouldSelectCell | back to summary |
---|---|
public boolean shouldSelectCell(EventObject anEvent) Implements javax. Returns true.
|
stopCellEditing | back to summary |
---|---|
public boolean stopCellEditing() Implements javax. Calls
|