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 |
DefaultCellEditor
The default editor for table and tree cells.
|
Modifier and Type | Field and Description |
---|---|
protected TreeCellEditor |
JTree.cellEditor
Editor 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.cellEditor
Editor 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 |
DefaultTreeCellEditor
A
TreeCellEditor . |
Modifier and Type | Field and Description |
---|---|
protected TreeCellEditor |
DefaultTreeCellEditor.realEditor
Editor handling the editing.
|
Modifier and Type | Method and Description |
---|---|
protected TreeCellEditor |
DefaultTreeCellEditor.createTreeCellEditor()
This is invoked if a
TreeCellEditor
is not supplied in the constructor. |
Constructor and Description |
---|
DefaultTreeCellEditor(JTree tree,
DefaultTreeCellRenderer renderer,
TreeCellEditor editor)
Constructs a
DefaultTreeCellEditor
object for a JTree using 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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.