edu.princeton.toy.choosers
protected class TExceptionChooserPane.CheckBoxCellRenderer extends java.lang.Object implements javax.swing.tree.TreeCellRenderer
Constructor and Description |
---|
TExceptionChooserPane.CheckBoxCellRenderer()
Creates a new CheckBoxCellRenderer.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getTreeCellRendererComponent(javax.swing.JTree tree,
java.lang.Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus)
Implement TreeCellRenderer to extract the CheckBoxCell from a DefaultMutableTreeNode,
configure its display properties, and return that component.
|
public TExceptionChooserPane.CheckBoxCellRenderer()
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