Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public Component | getTreeCellRendererComponent(JTree
the receiver is being configured for tree, Object the value to render value, boolean whether node is selected selected, boolean whether node is expanded expanded, boolean whether node is a lead node leaf, int row index row, boolean whether node has focus hasFocus)Overrides javax. Implements javax. |
XTreeRenderer | back to summary |
---|---|
public XTreeRenderer() |
getTreeCellRendererComponent | back to summary |
---|---|
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) Overrides javax. Implements javax. Doc from javax. Configures the renderer based on the passed in components.
The value is set from messaging the tree with
|