javax.swing
Class AbstractCellEditor

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

public abstract class AbstractCellEditor
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements CellEditor sample code for javax.swing.CellEditor definition code for javax.swing.CellEditor , Serializable sample code for java.io.Serializable definition code for java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  ChangeEvent sample code for javax.swing.event.ChangeEvent definition code for javax.swing.event.ChangeEvent changeEvent sample code for javax.swing.AbstractCellEditor.changeEvent definition code for javax.swing.AbstractCellEditor.changeEvent
           
protected  EventListenerList sample code for javax.swing.event.EventListenerList definition code for javax.swing.event.EventListenerList listenerList sample code for javax.swing.AbstractCellEditor.listenerList definition code for javax.swing.AbstractCellEditor.listenerList
           
 
Constructor Summary
AbstractCellEditor sample code for javax.swing.AbstractCellEditor.AbstractCellEditor() definition code for javax.swing.AbstractCellEditor.AbstractCellEditor() ()
           
 
Method Summary
 void addCellEditorListener sample code for javax.swing.AbstractCellEditor.addCellEditorListener(javax.swing.event.CellEditorListener) definition code for javax.swing.AbstractCellEditor.addCellEditorListener(javax.swing.event.CellEditorListener) (CellEditorListener sample code for javax.swing.event.CellEditorListener definition code for javax.swing.event.CellEditorListener  l)
          Adds a CellEditorListener to the listener list.
 void cancelCellEditing sample code for javax.swing.AbstractCellEditor.cancelCellEditing() definition code for javax.swing.AbstractCellEditor.cancelCellEditing() ()
          Calls fireEditingCanceled.
protected  void fireEditingCanceled sample code for javax.swing.AbstractCellEditor.fireEditingCanceled() definition code for javax.swing.AbstractCellEditor.fireEditingCanceled() ()
          Notifies all listeners that have registered interest for notification on this event type.
protected  void fireEditingStopped sample code for javax.swing.AbstractCellEditor.fireEditingStopped() definition code for javax.swing.AbstractCellEditor.fireEditingStopped() ()
          Notifies all listeners that have registered interest for notification on this event type.
 CellEditorListener sample code for javax.swing.event.CellEditorListener definition code for javax.swing.event.CellEditorListener [] getCellEditorListeners sample code for javax.swing.AbstractCellEditor.getCellEditorListeners() definition code for javax.swing.AbstractCellEditor.getCellEditorListeners() ()
          Returns an array of all the CellEditorListeners added to this AbstractCellEditor with addCellEditorListener().
 boolean isCellEditable sample code for javax.swing.AbstractCellEditor.isCellEditable(java.util.EventObject) definition code for javax.swing.AbstractCellEditor.isCellEditable(java.util.EventObject) (EventObject sample code for java.util.EventObject definition code for java.util.EventObject  e)
          Returns true.
 void removeCellEditorListener sample code for javax.swing.AbstractCellEditor.removeCellEditorListener(javax.swing.event.CellEditorListener) definition code for javax.swing.AbstractCellEditor.removeCellEditorListener(javax.swing.event.CellEditorListener) (CellEditorListener sample code for javax.swing.event.CellEditorListener definition code for javax.swing.event.CellEditorListener  l)
          Removes a CellEditorListener from the listener list.
 boolean shouldSelectCell sample code for javax.swing.AbstractCellEditor.shouldSelectCell(java.util.EventObject) definition code for javax.swing.AbstractCellEditor.shouldSelectCell(java.util.EventObject) (EventObject sample code for java.util.EventObject definition code for java.util.EventObject  anEvent)
          Returns true.
 boolean stopCellEditing sample code for javax.swing.AbstractCellEditor.stopCellEditing() definition code for javax.swing.AbstractCellEditor.stopCellEditing() ()
          Calls fireEditingStopped and returns true.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 
Methods inherited from interface javax.swing.CellEditor sample code for javax.swing.CellEditor definition code for javax.swing.CellEditor
getCellEditorValue sample code for javax.swing.CellEditor.getCellEditorValue() definition code for javax.swing.CellEditor.getCellEditorValue()
 

Field Detail

listenerList sample code for javax.swing.AbstractCellEditor.listenerList

protected EventListenerList sample code for javax.swing.event.EventListenerList definition code for javax.swing.event.EventListenerList  listenerList

changeEvent sample code for javax.swing.AbstractCellEditor.changeEvent

protected transient ChangeEvent sample code for javax.swing.event.ChangeEvent definition code for javax.swing.event.ChangeEvent  changeEvent
Constructor Detail

AbstractCellEditor sample code for javax.swing.AbstractCellEditor() definition code for javax.swing.AbstractCellEditor()

public AbstractCellEditor()
Method Detail

isCellEditable sample code for javax.swing.AbstractCellEditor.isCellEditable(java.util.EventObject) definition code for javax.swing.AbstractCellEditor.isCellEditable(java.util.EventObject)

public boolean isCellEditable(EventObject sample code for java.util.EventObject definition code for java.util.EventObject  e)
Returns true.

Specified by:
isCellEditable sample code for javax.swing.CellEditor.isCellEditable(java.util.EventObject) definition code for javax.swing.CellEditor.isCellEditable(java.util.EventObject) in interface CellEditor sample code for javax.swing.CellEditor definition code for javax.swing.CellEditor
Parameters:
e - an event object
Returns:
true
See Also:
CellEditor.shouldSelectCell(java.util.EventObject) sample code for javax.swing.CellEditor.shouldSelectCell(java.util.EventObject) definition code for javax.swing.CellEditor.shouldSelectCell(java.util.EventObject)

shouldSelectCell sample code for javax.swing.AbstractCellEditor.shouldSelectCell(java.util.EventObject) definition code for javax.swing.AbstractCellEditor.shouldSelectCell(java.util.EventObject)

public boolean shouldSelectCell(EventObject sample code for java.util.EventObject definition code for java.util.EventObject  anEvent)
Returns true.

Specified by:
shouldSelectCell sample code for javax.swing.CellEditor.shouldSelectCell(java.util.EventObject) definition code for javax.swing.CellEditor.shouldSelectCell(java.util.EventObject) in interface CellEditor sample code for javax.swing.CellEditor definition code for javax.swing.CellEditor
Parameters:
anEvent - an event object
Returns:
true
See Also:
CellEditor.isCellEditable(java.util.EventObject) sample code for javax.swing.CellEditor.isCellEditable(java.util.EventObject) definition code for javax.swing.CellEditor.isCellEditable(java.util.EventObject)

stopCellEditing sample code for javax.swing.AbstractCellEditor.stopCellEditing() definition code for javax.swing.AbstractCellEditor.stopCellEditing()

public boolean stopCellEditing()
Calls fireEditingStopped and returns true.

Specified by:
stopCellEditing sample code for javax.swing.CellEditor.stopCellEditing() definition code for javax.swing.CellEditor.stopCellEditing() in interface CellEditor sample code for javax.swing.CellEditor definition code for javax.swing.CellEditor
Returns:
true

cancelCellEditing sample code for javax.swing.AbstractCellEditor.cancelCellEditing() definition code for javax.swing.AbstractCellEditor.cancelCellEditing()

public void cancelCellEditing()
Calls fireEditingCanceled.

Specified by:
cancelCellEditing sample code for javax.swing.CellEditor.cancelCellEditing() definition code for javax.swing.CellEditor.cancelCellEditing() in interface CellEditor sample code for javax.swing.CellEditor definition code for javax.swing.CellEditor

addCellEditorListener sample code for javax.swing.AbstractCellEditor.addCellEditorListener(javax.swing.event.CellEditorListener) definition code for javax.swing.AbstractCellEditor.addCellEditorListener(javax.swing.event.CellEditorListener)

public void addCellEditorListener(CellEditorListener sample code for javax.swing.event.CellEditorListener definition code for javax.swing.event.CellEditorListener  l)
Adds a CellEditorListener to the listener list.

Specified by:
addCellEditorListener sample code for javax.swing.CellEditor.addCellEditorListener(javax.swing.event.CellEditorListener) definition code for javax.swing.CellEditor.addCellEditorListener(javax.swing.event.CellEditorListener) in interface CellEditor sample code for javax.swing.CellEditor definition code for javax.swing.CellEditor
Parameters:
l - the new listener to be added

removeCellEditorListener sample code for javax.swing.AbstractCellEditor.removeCellEditorListener(javax.swing.event.CellEditorListener) definition code for javax.swing.AbstractCellEditor.removeCellEditorListener(javax.swing.event.CellEditorListener)

public void removeCellEditorListener(CellEditorListener sample code for javax.swing.event.CellEditorListener definition code for javax.swing.event.CellEditorListener  l)
Removes a CellEditorListener from the listener list.

Specified by:
removeCellEditorListener sample code for javax.swing.CellEditor.removeCellEditorListener(javax.swing.event.CellEditorListener) definition code for javax.swing.CellEditor.removeCellEditorListener(javax.swing.event.CellEditorListener) in interface CellEditor sample code for javax.swing.CellEditor definition code for javax.swing.CellEditor
Parameters:
l - the listener to be removed

getCellEditorListeners sample code for javax.swing.AbstractCellEditor.getCellEditorListeners() definition code for javax.swing.AbstractCellEditor.getCellEditorListeners()

public CellEditorListener sample code for javax.swing.event.CellEditorListener definition code for javax.swing.event.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
Since:
1.4

fireEditingStopped sample code for javax.swing.AbstractCellEditor.fireEditingStopped() definition code for javax.swing.AbstractCellEditor.fireEditingStopped()

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

See Also:
EventListenerList sample code for javax.swing.event.EventListenerList definition code for javax.swing.event.EventListenerList

fireEditingCanceled sample code for javax.swing.AbstractCellEditor.fireEditingCanceled() definition code for javax.swing.AbstractCellEditor.fireEditingCanceled()

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

See Also:
EventListenerList sample code for javax.swing.event.EventListenerList definition code for javax.swing.event.EventListenerList