org.flexdock.plaf.resources.paint
Class GradientPainter

java.lang.Object
  extended by org.flexdock.plaf.resources.paint.DefaultPainter
      extended by org.flexdock.plaf.resources.paint.GradientPainter
All Implemented Interfaces:
Painter

public class GradientPainter
extends DefaultPainter

Author:
Cyril Gambis, Claudio Romano

Field Summary
static java.lang.String GRAYSCALE
           
 
Fields inherited from class org.flexdock.plaf.resources.paint.DefaultPainter
DEFAULT_BG_COLOR, DEFAULT_BG_COLOR_ACTIVE, painterResource
 
Constructor Summary
GradientPainter()
           
 
Method Summary
 void paint(java.awt.Graphics g, int width, int height, boolean active, javax.swing.JComponent titlebar)
           
 
Methods inherited from class org.flexdock.plaf.resources.paint.DefaultPainter
getBackgroundColor, getBackgroundColorActive, getBackgroundColorInactive, getPainterResource, setPainterResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GRAYSCALE

public static final java.lang.String GRAYSCALE
See Also:
Constant Field Values
Constructor Detail

GradientPainter

public GradientPainter()
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
Overrides:
paint in class DefaultPainter