- All Known Implementing Classes:
- public abstract interface TreeCellRenderer
Defines the requirements for an object that displays a tree node.
public Component getTreeCellRendererComponent(JTree tree,
- Sets the value of the current tree cell to
selected is true, the cell will be drawn as if
expanded is true the node is currently
expanded and if
leaf is true the node represets a
leaf anf if
hasFocus is true the node currently has
tree is the JTree the receiver is being
Returns the Component that the renderer uses to draw the value.
- Component that the renderer uses to draw the value.
Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.