TreeNodeScope
The receiver a Tree node composes against: the row inputs the tree hands a TreeCellRenderer for the node being stamped, exposed as read-only composition state so the node can lay itself out by position, selection, expansion and focus.
Mirrors the arguments of javax.swing.tree.TreeCellRenderer.getTreeCellRendererComponent: row is the node's row, isSelected whether it is selected, isExpanded whether its children are shown below it, isLeaf whether the structure gives it children at all, and hasFocus whether it draws the focus decoration.