Class AbstractTreeCellEditor

java.lang.Object
mgui.interfaces.trees.AbstractTreeCellEditor
All Implemented Interfaces:
javax.swing.CellEditor
Direct Known Subclasses:
InterfaceTreeTable.TreeTableCellEditor

public class AbstractTreeCellEditor
extends java.lang.Object
implements javax.swing.CellEditor
Version:
%I% %G% A base class for CellEditors, providing default implementations for all methods in the CellEditor interface and support for managing a series of listeners.
Author:
Philip Milne
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected javax.swing.event.EventListenerList listenerList  
  • Constructor Summary

    Constructors
    Constructor Description
    AbstractTreeCellEditor()  
  • Method Summary

    Modifier and Type Method Description
    void addCellEditorListener​(javax.swing.event.CellEditorListener l)  
    void cancelCellEditing()  
    protected void fireEditingCanceled()
    Notify all listeners that have registered interest for notification on this event type.
    protected void fireEditingStopped()
    Notify all listeners that have registered interest for notification on this event type.
    java.lang.Object getCellEditorValue()  
    boolean isCellEditable​(java.util.EventObject e)  
    void removeCellEditorListener​(javax.swing.event.CellEditorListener l)  
    boolean shouldSelectCell​(java.util.EventObject anEvent)  
    boolean stopCellEditing()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • listenerList

      protected javax.swing.event.EventListenerList listenerList
  • Constructor Details

    • AbstractTreeCellEditor

      public AbstractTreeCellEditor()
  • Method Details

    • getCellEditorValue

      public java.lang.Object getCellEditorValue()
      Specified by:
      getCellEditorValue in interface javax.swing.CellEditor
    • isCellEditable

      public boolean isCellEditable​(java.util.EventObject e)
      Specified by:
      isCellEditable in interface javax.swing.CellEditor
    • shouldSelectCell

      public boolean shouldSelectCell​(java.util.EventObject anEvent)
      Specified by:
      shouldSelectCell in interface javax.swing.CellEditor
    • stopCellEditing

      public boolean stopCellEditing()
      Specified by:
      stopCellEditing in interface javax.swing.CellEditor
    • cancelCellEditing

      public void cancelCellEditing()
      Specified by:
      cancelCellEditing in interface javax.swing.CellEditor
    • addCellEditorListener

      public void addCellEditorListener​(javax.swing.event.CellEditorListener l)
      Specified by:
      addCellEditorListener in interface javax.swing.CellEditor
    • removeCellEditorListener

      public void removeCellEditorListener​(javax.swing.event.CellEditorListener l)
      Specified by:
      removeCellEditorListener in interface javax.swing.CellEditor
    • fireEditingStopped

      protected void fireEditingStopped()
      Notify all listeners that have registered interest for notification on this event type.
      See Also:
      EventListenerList
    • fireEditingCanceled

      protected void fireEditingCanceled()
      Notify all listeners that have registered interest for notification on this event type.
      See Also:
      EventListenerList