Class ClassicHighlightPainter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DISPLAY_NAME
      The display name for the highlight painters of this class.
      protected ClassicFillPainter painter
      Single gradient painter instance.
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassicHighlightPainter​()
      Creates new classic title painter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDisplayName​()
      Returns the display name of this trait.
      void paintHighlight​(java.awt.Graphics2D graphics, java.awt.Component comp, int width, int height, SubstanceColorScheme colorScheme)
      Paints the highlight.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DISPLAY_NAME

        public static final java.lang.String DISPLAY_NAME
        The display name for the highlight painters of this class.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ClassicHighlightPainter

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

      • getDisplayName

        public java.lang.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.
      • paintHighlight

        public void paintHighlight​(java.awt.Graphics2D graphics,
                                   java.awt.Component comp,
                                   int width,
                                   int height,
                                   SubstanceColorScheme colorScheme)
        Description copied from interface: SubstanceHighlightPainter
        Paints the highlight.
        Specified by:
        paintHighlight in interface SubstanceHighlightPainter
        Parameters:
        graphics - Graphics context.
        comp - Component.
        width - Width.
        height - Height.
        colorScheme - The color scheme for painting the highlight.