edu.princeton.toy.choosers
Class TExceptionChooserPane.CheckBoxCellRenderer
java.lang.Object
edu.princeton.toy.choosers.TExceptionChooserPane.CheckBoxCellRenderer
- All Implemented Interfaces:
- TreeCellRenderer
- Enclosing class:
- TExceptionChooserPane
protected class TExceptionChooserPane.CheckBoxCellRenderer
- extends Object
- implements TreeCellRenderer
CheckBoxCellRenderer renders a CheckBoxCell for the TExceptionChooser.
Method Summary |
Component |
getTreeCellRendererComponent(JTree tree,
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TExceptionChooserPane.CheckBoxCellRenderer
public TExceptionChooserPane.CheckBoxCellRenderer()
- Creates a new CheckBoxCellRenderer.
getTreeCellRendererComponent
public Component getTreeCellRendererComponent(JTree tree,
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.
- Specified by:
getTreeCellRendererComponent
in interface TreeCellRenderer