Class SchemaTreeTraverser.SchemaTreeCellRenderer

    • Field Detail

      • iconLabel

        protected final JLabel iconLabel
        The icon label.
      • nameLabel

        protected final JLabel nameLabel
        The text label
      • selectedBackground

        public final Color selectedBackground
        Background color for selected cells (light brown).
      • selectedForeground

        public final Color selectedForeground
        Foreground color for selected cells, both text and border (dark brown).
      • nameFont

        public final Font nameFont
        Default font for the text label.
    • Constructor Detail

      • SchemaTreeCellRenderer

        public SchemaTreeCellRenderer()
        Simple constructor.
    • Method Detail

      • setValues

        protected final void setValues​(Icon icon,
                                       String caption,
                                       boolean selected)
        Sets values for the icon and text of this renderer.
        Parameters:
        icon - Icon to show.
        caption - Text to show.
        selected - Selection indicator. If true, the renderer will be shown with different background and border settings.