org.jacorb.imr.util

Class ImRTreeCellRenderer


public class ImRTreeCellRenderer
extends DefaultTreeCellRenderer

This class sets the tooltip text for the tree cells, and, if possible, enhances the test with HTML.

Author:
Nicolas Noffke $Id: ImRTreeCellRenderer.java,v 1.8 2004/05/06 12:39:59 nicolas Exp $

Constructor Summary

ImRTreeCellRenderer()

Method Summary

Component
getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus)
Set the tooltip text and overwrite the labels with HTML.

Constructor Details

ImRTreeCellRenderer

public ImRTreeCellRenderer()

Method Details

getTreeCellRendererComponent

public Component getTreeCellRendererComponent(JTree tree,
                                              Object value,
                                              boolean sel,
                                              boolean expanded,
                                              boolean leaf,
                                              int row,
                                              boolean hasFocus)
Set the tooltip text and overwrite the labels with HTML.