All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sun.java.swing.TreeCellRenderer

public interface TreeCellRenderer

Method Index

 o configureTreeCellRenderer(Object, boolean, boolean, boolean)
Sets the value of the current tree cell to value.
 o getTreeCellRendererComponent()
Returns the Component that the renderer uses to draw the value.

Methods

 o configureTreeCellRenderer
 public abstract void configureTreeCellRenderer(Object value,
                                                boolean selected,
                                                boolean expanded,
                                                boolean leaf)
Sets the value of the current tree cell to value. If selected is true, the cell will be drawn as if selected.

 o getTreeCellRendererComponent
 public abstract Component getTreeCellRendererComponent()
Returns the Component that the renderer uses to draw the value.

Returns:
Component that the renderer uses to draw the value.

All Packages  Class Hierarchy  This Package  Previous  Next  Index