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:
    Serialized Form
    • Constructor Detail

      • DefaultXTreeCellRenderer

        public DefaultXTreeCellRenderer()
    • Method Detail

      • updateColors

        protected void updateColors()
      • updateIcons

        protected void updateIcons()