com.vividsolutions.jump.workbench.ui
Class LayerTreeCellRenderer

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.LayerTreeCellRenderer
All Implemented Interfaces:
javax.swing.tree.TreeCellRenderer

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

Implements a TreeCellRendererfor the Layer tree. This class may be renamed to LayerRenderer in the future.


Constructor Summary
LayerTreeCellRenderer(RenderingManager renderingManager)
           
 
Method Summary
 LayerNameRenderer getLayerNameRenderer()
           
 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayerTreeCellRenderer

public LayerTreeCellRenderer(RenderingManager renderingManager)
Method Detail

getLayerNameRenderer

public LayerNameRenderer getLayerNameRenderer()

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