All Packages Class Hierarchy This Package Previous Next Index
Interface com.sun.java.swing.TreeCellRenderer
- public interface TreeCellRenderer
-
configureTreeCellRenderer(Object, boolean, boolean, boolean)
- Sets the value of the current tree cell to
value
.
-
getTreeCellRendererComponent()
- Returns the Component that the renderer uses to draw the value.
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.
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