Class ClassicDecorationPainter

    • Constructor Detail

      • ClassicDecorationPainter

        public ClassicDecorationPainter()
        Creates new classic title painter.
    • Method Detail

      • getDisplayName

        public String getDisplayName()
        Description copied from interface: SubstanceTrait
        Returns the display name of this trait. This method is part of officially supported API.
        Specified by:
        getDisplayName in interface SubstanceTrait
        Returns:
        The display name of this trait.
      • internalPaint

        protected void internalPaint​(Graphics2D graphics,
                                     Component comp,
                                     int width,
                                     int height,
                                     SubstanceColorScheme scheme)
        Paints the specified area.
        Parameters:
        graphics - Graphics context.
        comp - Component.
        width - Width.
        height - Height.
        scheme - Substance color scheme for painting the area.