This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.swing
class AbstractCellEditor

java.lang.Object extended by javax.swing.AbstractCellEditor
All Implemented Interfaces:
Serializable, CellEditor
Direct Known Subclasses:
DefaultCellEditor

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 CellEditorListeners added to this AbstractCellEditor with addCellEditorListener().
 boolean

          Returns true.
 void

          Removes a CellEditorListener from the listener list.
 boolean

          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

changeEvent

protected transient ChangeEvent changeEvent

listenerList

protected EventListenerList listenerList
Constructor Detail

AbstractCellEditor

public AbstractCellEditor()
Method Detail

addCellEditorListener

public void addCellEditorListener(CellEditorListener l)
Adds a CellEditorListener to the listener list.

Parameters:
l - the new listener to be added

cancelCellEditing

public void cancelCellEditing()
Calls fireEditingCanceled.


fireEditingCanceled

protected void fireEditingCanceled()
Notifies all listeners that have registered interest for notification on this event type. The event instance is created lazily.


fireEditingStopped

protected void fireEditingStopped()
Notifies all listeners that have registered interest for notification on this event type. The event instance is created lazily.


getCellEditorListeners

public CellEditorListener[] getCellEditorListeners()
Returns an array of all the CellEditorListeners added to this AbstractCellEditor with addCellEditorListener().

Returns:
all of the CellEditorListeners added or an empty array if no listeners have been added

isCellEditable

public boolean isCellEditable(EventObject e)
Returns true.

Parameters:
e - an event object
Returns:
true

removeCellEditorListener

public void removeCellEditorListener(CellEditorListener l)
Removes a CellEditorListener from the listener list.

Parameters:
l - the listener to be removed

shouldSelectCell

public boolean shouldSelectCell(EventObject anEvent)
Returns true.

Parameters:
anEvent - an event object
Returns:
true

stopCellEditing

public boolean stopCellEditing()
Calls fireEditingStopped and returns true.

Returns:
true


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.