public class CheckBoxNodeRenderer extends Object implements TreeCellRenderer
TreeCellRenderer
for check box tree nodes.
Thanks to John Zukowski for the sample code upon which this is based.
Constructor and Description |
---|
CheckBoxNodeRenderer() |
Modifier and Type | Method and Description |
---|---|
protected CheckBoxNodePanel |
getPanel() |
Component |
getTreeCellRendererComponent(JTree tree,
Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus) |
protected CheckBoxNodePanel getPanel()
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
getTreeCellRendererComponent
in interface TreeCellRenderer
Copyright © 2015–2022 SciJava. All rights reserved.