Extension SDK 10.1.2

oracle.ide.explorer
Class IconOverlayTreeCellRenderer

java.lang.Object
  extended byoracle.ide.explorer.IconOverlayTreeCellRenderer
All Implemented Interfaces:
javax.swing.tree.TreeCellRenderer

public class IconOverlayTreeCellRenderer
extends java.lang.Object
implements javax.swing.tree.TreeCellRenderer

The IconOverlayTreeCellRenderer class is a cell renderer decorator responsible for rendering IconOverlayConsumer node values.


Constructor Summary
IconOverlayTreeCellRenderer(IconOverlayConsumer consumer, javax.swing.tree.DefaultTreeCellRenderer renderer)
           
 
Method Summary
 javax.swing.tree.DefaultTreeCellRenderer getCellRenderer()
           
 IconOverlayConsumer getOverlayConsumer()
           
 java.awt.Component getTreeCellRendererComponent(javax.swing.JTree tree, java.lang.Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconOverlayTreeCellRenderer

public IconOverlayTreeCellRenderer(IconOverlayConsumer consumer,
                                   javax.swing.tree.DefaultTreeCellRenderer renderer)
Method Detail

getOverlayConsumer

public IconOverlayConsumer getOverlayConsumer()

getCellRenderer

public javax.swing.tree.DefaultTreeCellRenderer getCellRenderer()

getTreeCellRendererComponent

public java.awt.Component getTreeCellRendererComponent(javax.swing.JTree tree,
                                                       java.lang.Object value,
                                                       boolean selected,
                                                       boolean expanded,
                                                       boolean leaf,
                                                       int row,
                                                       boolean hasFocus)
Specified by:
getTreeCellRendererComponent in interface javax.swing.tree.TreeCellRenderer

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.