Class DefaultPainter

    • Field Detail

      • DEFAULT_BG_COLOR

        public static final java.awt.Color DEFAULT_BG_COLOR
      • DEFAULT_BG_COLOR_ACTIVE

        public static final java.awt.Color DEFAULT_BG_COLOR_ACTIVE
    • Constructor Detail

      • DefaultPainter

        public DefaultPainter()
    • Method Detail

      • paint

        public void paint​(java.awt.Graphics g,
                          int width,
                          int height,
                          boolean active,
                          javax.swing.JComponent titlebar)
        Specified by:
        paint in interface Painter
      • getBackgroundColor

        protected java.awt.Color getBackgroundColor​(boolean active)
      • getBackgroundColorInactive

        protected java.awt.Color getBackgroundColorInactive()
      • getBackgroundColorActive

        protected java.awt.Color getBackgroundColorActive()
      • setPainterResource

        public void setPainterResource​(PainterResource painterResource)
        Specified by:
        setPainterResource in interface Painter
        Parameters:
        painterResource - The painterResource to set.