public interface TreePathBackgroundSupplier
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getPathBackground(javax.swing.tree.TreePath path,
int row)
This method allows to specify a background for a specified tree node.
|
java.awt.Color getPathBackground(javax.swing.tree.TreePath path, int row)
path
- a path to a tree node in a treerow
- a visible index of a tree node that allows to define old fashioned striped backgroundnull
if a tree node should use default background