JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.cell
Class JCCellEditorSupport

java.lang.Object
  |
  +--com.klg.jclass.cell.JCCellEditorSupport
All Implemented Interfaces:
JCCellEditorEventSource, Serializable

public class JCCellEditorSupport
extends Object
implements JCCellEditorEventSource, Serializable

JCCellEditorSupport is a convenience class that can be used by cell editors to implement standard editor event handling. In addition to registering edit event listeners, it provides easy methods for firing events.

See Also:
Serialized Form

Field Summary
protected  com.klg.jclass.util.JCListenerList cellEditorListeners
          Manages JCCellEditorListeners.
 
Constructor Summary
JCCellEditorSupport()
          Creates a JCCellEditorSupport instance.
 
Method Summary
 void addCellEditorListener(com.klg.jclass.cell.JCCellEditorListener l)
          Adds a new JCCellEditorListener to the list.
 void fireCancelEditing(com.klg.jclass.cell.JCCellEditorEvent event)
          Sends an EditingCanceled message/event to all listeners.
 void fireStopEditing(com.klg.jclass.cell.JCCellEditorEvent event)
          Sends an EditingStopped message/event to all listeners.
 void removeCellEditorListener(com.klg.jclass.cell.JCCellEditorListener l)
          Removes a JCCellEditorListener from the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cellEditorListeners

protected com.klg.jclass.util.JCListenerList cellEditorListeners
Manages JCCellEditorListeners.

Constructor Detail

JCCellEditorSupport

public JCCellEditorSupport()
Creates a JCCellEditorSupport instance.

Method Detail

addCellEditorListener

public void addCellEditorListener(com.klg.jclass.cell.JCCellEditorListener l)
Adds a new JCCellEditorListener to the list.

Specified by:
addCellEditorListener in interface JCCellEditorEventSource
Parameters:
l -

removeCellEditorListener

public void removeCellEditorListener(com.klg.jclass.cell.JCCellEditorListener l)
Removes a JCCellEditorListener from the list.

Specified by:
removeCellEditorListener in interface JCCellEditorEventSource
Parameters:
l -

fireStopEditing

public void fireStopEditing(com.klg.jclass.cell.JCCellEditorEvent event)
Sends an EditingStopped message/event to all listeners.

Parameters:
event -

fireCancelEditing

public void fireCancelEditing(com.klg.jclass.cell.JCCellEditorEvent event)
Sends an EditingCanceled message/event to all listeners.

Parameters:
event -

Copyright © 2004 Quest Software Inc..
All rights reserved.