public class IconOverlayTreeCellRenderer
extends java.lang.Object
implements javax.swing.tree.TreeCellRenderer
The IconOverlayTreeCellRenderer
class is a cell renderer
decorator responsible for rendering IconOverlayConsumer
node
values.
Constructor and Description |
---|
IconOverlayTreeCellRenderer(IconOverlayConsumer consumer,
javax.swing.tree.DefaultTreeCellRenderer renderer) |
Modifier and Type | Method and Description |
---|---|
javax.swing.tree.DefaultTreeCellRenderer |
getCellRenderer() |
IconOverlayConsumer |
getOverlayConsumer() |
java.awt.Component |
getTreeCellRendererComponent(javax.swing.JTree tree,
java.lang.Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus) |
public IconOverlayTreeCellRenderer(IconOverlayConsumer consumer, javax.swing.tree.DefaultTreeCellRenderer renderer)
public IconOverlayConsumer getOverlayConsumer()
public javax.swing.tree.DefaultTreeCellRenderer getCellRenderer()
public java.awt.Component getTreeCellRendererComponent(javax.swing.JTree tree, java.lang.Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
getTreeCellRendererComponent
in interface javax.swing.tree.TreeCellRenderer