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 | Field and Description |
---|---|
protected TreeCellRenderer |
JTree.cellRenderer
The cell used to draw nodes.
|
Modifier and Type | Method and Description |
---|---|
TreeCellRenderer |
JTree.getCellRenderer()
Returns the current
TreeCellRenderer
that is rendering each cell. |
Modifier and Type | Method and Description |
---|---|
void |
JTree.setCellRenderer(TreeCellRenderer x)
Sets the
TreeCellRenderer that will be used to
draw each cell. |
Modifier and Type | Field and Description |
---|---|
protected TreeCellRenderer |
BasicTreeUI.currentCellRenderer
Renderer that is being used to do the actual cell drawing.
|
Modifier and Type | Method and Description |
---|---|
protected TreeCellRenderer |
BasicTreeUI.createDefaultCellRenderer()
Returns the default cell renderer that is used to do the
stamping of each node.
|
protected TreeCellRenderer |
BasicTreeUI.getCellRenderer()
Return currentCellRenderer, which will either be the trees
renderer, or defaultCellRenderer, which ever wasn't null.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BasicTreeUI.setCellRenderer(TreeCellRenderer tcr)
Sets the TreeCellRenderer to
tcr . |
Modifier and Type | Method and Description |
---|---|
protected TreeCellRenderer |
SynthTreeUI.createDefaultCellRenderer() |
Modifier and Type | Class and Description |
---|---|
class |
DefaultTreeCellRenderer
Displays an entry in a tree.
|
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, 2013, Oracle and/or its affiliates. All rights reserved.