Class LegendTreeLayerCellRenderer

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, TreeCellRenderer

public class LegendTreeLayerCellRenderer extends JPanel implements TreeCellRenderer
Deprecated.
2D piccolo based code is being removed
Renderer for rendering root and layer Cell in LegendTree
See Also:
  • Constructor Details

    • LegendTreeLayerCellRenderer

      public LegendTreeLayerCellRenderer()
      Deprecated.
      Creates a new instance of LegendTreeCellRender
  • Method Details

    • isLayerSelected

      public boolean isLayerSelected()
      Deprecated.
    • setLayerSelected

      public void setLayerSelected(boolean sel)
      Deprecated.
    • setText

      public void setText(String name)
      Deprecated.
      set the note name in the checkbox also remove and readd in the center of the boxlayout of the panel to have enough space for the name string, since the component was initialise with the string "Legend" that might shorter than the note's real name
      Parameters:
      name - DOCUMENT ME!
    • getText

      public String getText()
      Deprecated.
    • getTreeCellRendererComponent

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