## Uses of Interface
javax.swing.CellEditor

- Packages that use CellEditor
  Package | Description
  --- | ---
  javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
  javax.swing.table | Provides classes and interfaces for dealing with `javax.swing.JTable`.
  javax.swing.tree | Provides classes and interfaces for dealing with `javax.swing.JTree`.

- - ### Uses of CellEditor in javax.swing

    Classes in javax.swing that implement CellEditor
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AbstractCellEditor` A base class for `CellEditors`, providing default implementations for the methods in the `CellEditor` interface except `getCellEditorValue()`.
    `class` | `DefaultCellEditor` The default editor for table and tree cells.

  - ### Uses of CellEditor in javax.swing.table

    Subinterfaces of CellEditor in javax.swing.table
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `TableCellEditor` This interface defines the method any object that would like to be an editor of values for components such as `JListBox`, `JComboBox`, `JTree`, or `JTable` needs to implement.

  - ### Uses of CellEditor in javax.swing.tree

    Subinterfaces of CellEditor in javax.swing.tree
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `TreeCellEditor` Adds to CellEditor the extensions necessary to configure an editor in a tree.

    Classes in javax.swing.tree that implement CellEditor
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `DefaultTreeCellEditor` A `TreeCellEditor`.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.