Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Java™ Platform Standard Ed. 6
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
javax.swing.tree.TreeCellRenderer

Packages that use TreeCellRenderer
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.tree | Provides classes and interfaces for dealing with `javax.swing.JTree`.

Uses of TreeCellRenderer in javax.swing

Fields in javax.swing declared as TreeCellRenderer
`protected TreeCellRenderer` | `JTree.cellRenderer` The cell used to draw nodes.

Methods in javax.swing that return TreeCellRenderer
`TreeCellRenderer` | `JTree.getCellRenderer()` Returns the current `TreeCellRenderer` that is rendering each cell.

Methods in javax.swing with parameters of type TreeCellRenderer
`void` | `JTree.setCellRenderer(TreeCellRenderer x)` Sets the `TreeCellRenderer` that will be used to draw each cell.

Uses of TreeCellRenderer in javax.swing.plaf.basic

Fields in javax.swing.plaf.basic declared as TreeCellRenderer
`protected TreeCellRenderer` | `BasicTreeUI.currentCellRenderer` Renderer that is being used to do the actual cell drawing.

Methods in javax.swing.plaf.basic that return TreeCellRenderer
`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.

Methods in javax.swing.plaf.basic with parameters of type TreeCellRenderer
`protected void` | `BasicTreeUI.setCellRenderer(TreeCellRenderer tcr)` Sets the TreeCellRenderer to `tcr`.

Uses of TreeCellRenderer in javax.swing.tree

Classes in javax.swing.tree that implement TreeCellRenderer
`class` | `DefaultTreeCellRenderer` Displays an entry in a tree.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Java™ Platform Standard Ed. 6
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.