Module java.desktop
Package javax.swing

Class DefaultCellEditor.EditorDelegate

    • Field Detail

      • value

        protected Object value
        The value of this cell.
    • Constructor Detail

      • EditorDelegate

        protected EditorDelegate()
    • Method Detail

      • getCellEditorValue

        public Object getCellEditorValue()
        Returns the value of this cell.
        Returns:
        the value of this cell
      • setValue

        public void setValue​(Object value)
        Sets the value of this cell.
        Parameters:
        value - the new value of this cell
      • startCellEditing

        public boolean startCellEditing​(EventObject anEvent)
        Returns true to indicate that editing has begun.
        Parameters:
        anEvent - the event
        Returns:
        true to indicate editing has begun
      • stopCellEditing

        public boolean stopCellEditing()
        Stops editing and returns true to indicate that editing has stopped. This method calls fireEditingStopped.
        Returns:
        true
      • cancelCellEditing

        public void cancelCellEditing()
        Cancels editing. This method calls fireEditingCanceled.