Class DefaultCheckboxTreeCellRenderer

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
eu.essilab.lablib.checkboxtree.DefaultCheckboxTreeCellRenderer
All Implemented Interfaces:
CheckboxTreeCellRenderer, ImageObserver, MenuContainer, Serializable, Accessible, TreeCellRenderer

public class DefaultCheckboxTreeCellRenderer extends JPanel implements CheckboxTreeCellRenderer
A renderer for the CheckboxTree. This implementation decorates a DefaultTreeCellRenderer (i.e. a JLabel) with a checkbox, by adding a QuadristateCheckbox to the former onto a JPanel. Both can be overridden by subclasses. Note that double-clicking the label/icon of this renderer does not toggle the checkbox.
Author:
boldrini, bigagli
See Also: