| 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.plaf.basic | Provides user interface objects built according to the
Basic look and feel. | 
| javax.swing.plaf.synth | 
      Synth is a skinnable look and feel in which all painting is
      delegated. | 
| javax.swing.tree | Provides classes and interfaces for dealing with
 javax.swing.JTree. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultCellEditorThe default editor for table and tree cells. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected TreeCellEditor | JTree. cellEditorEditor for the entries. | 
| Modifier and Type | Method and Description | 
|---|---|
| TreeCellEditor | JTree. getCellEditor()Returns the editor used to edit entries in the tree. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | JTree. setCellEditor(TreeCellEditor cellEditor)Sets the cell editor. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected TreeCellEditor | BasicTreeUI. cellEditorEditor for the tree. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected TreeCellEditor | BasicTreeUI. createDefaultCellEditor()Creates a default cell editor. | 
| protected TreeCellEditor | BasicTreeUI. getCellEditor() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | BasicTreeUI. setCellEditor(TreeCellEditor editor)Sets the cell editor. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected TreeCellEditor | SynthTreeUI. createDefaultCellEditor()Creates a default cell editor. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultTreeCellEditorA  TreeCellEditor. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected TreeCellEditor | DefaultTreeCellEditor. realEditorEditor handling the editing. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected TreeCellEditor | DefaultTreeCellEditor. createTreeCellEditor()This is invoked if a  TreeCellEditoris not supplied in the constructor. | 
| Constructor and Description | 
|---|
| DefaultTreeCellEditor(JTree tree,
                     DefaultTreeCellRenderer renderer,
                     TreeCellEditor editor)Constructs a  DefaultTreeCellEditorobject for aJTreeusing the
 specified renderer and the specified editor. | 
 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, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.