Class DefaultXTreeCellRenderer

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

public class DefaultXTreeCellRenderer extends DefaultTreeCellRenderer
Quick fix for #1061-swingx (which actually is a core issue): tree icons lost on toggle laf. Updates colors as well - but beware: this is incomplete as some of super's properties are private! Will not do more because in the longer run (as soon as we've fixed the editor issues) the JXTree's default renderer will be changed to SwingX DefaultTreeRenderer.
Author:
Jeanette Winzenburg
See Also:
  • Constructor Details

    • DefaultXTreeCellRenderer

      public DefaultXTreeCellRenderer()
  • Method Details

    • updateUI

      public void updateUI()

      Overridden to update icons and colors.

      Overrides:
      updateUI in class DefaultTreeCellRenderer
    • updateColors

      protected void updateColors()
    • updateIcons

      protected void updateIcons()