Class BaseCellEditor

  • All Implemented Interfaces:
    javax.swing.CellEditor

    public class BaseCellEditor
    extends java.lang.Object
    implements javax.swing.CellEditor
    A base class for CellEditors, providing default implementations for all methods in the CellEditor interface and support for managing a series of listeners. Original Source Location
    • Constructor Detail

      • BaseCellEditor

        public BaseCellEditor()
    • Method Detail

      • getCellEditorValue

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

        public boolean isCellEditable​(java.util.EventObject event)
        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 listener)
        Specified by:
        addCellEditorListener in interface javax.swing.CellEditor
      • removeCellEditorListener

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

        protected void fireEditingStopped()
        Notifies all listeners that have registered interest for 'editing stopped' event.
        See Also:
        EventListenerList
      • fireEditingCanceled

        protected void fireEditingCanceled()
        Notifies all listeners that have registered interest for 'editing canceled' event.
        See Also:
        EventListenerList