Quaqua 8.0 2011-10-02

ch.randelshofer.quaqua
Class QuaquaRootPaneBackground

java.lang.Object
  extended by java.awt.Color
      extended by ch.randelshofer.quaqua.color.PaintableColor
          extended by ch.randelshofer.quaqua.QuaquaRootPaneBackground
All Implemented Interfaces:
java.awt.Paint, java.awt.Transparency, java.io.Serializable

public class QuaquaRootPaneBackground
extends PaintableColor

QuaquaRootPaneBackground.

Version:
$Id$
Author:
Werner Randelshofer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.Color
black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOW
 
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
 
Constructor Summary
QuaquaRootPaneBackground(java.awt.Color plainColor, java.awt.Color[] activeTextureColors, java.awt.Color[] inactiveTextureColors)
          Note: For efficiency reasons this method stores the passed in arrays internally without copying them.
QuaquaRootPaneBackground(int plainColor, int[] activeTextureColors, int[] inactiveTextureColors)
          Note: For efficiency reasons this method stores the passed in arrays internally without copying them.
 
Method Summary
 java.awt.Paint getPaint(java.awt.Component c, int x, int y, int width, int height)
           
 
Methods inherited from class ch.randelshofer.quaqua.color.PaintableColor
getPaint, getPaint, getPaint, getPaint, getRootPaneOffset
 
Methods inherited from class java.awt.Color
brighter, createContext, darker, decode, equals, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuaquaRootPaneBackground

public QuaquaRootPaneBackground(int plainColor,
                                int[] activeTextureColors,
                                int[] inactiveTextureColors)
Note: For efficiency reasons this method stores the passed in arrays internally without copying them. Do not modify these arrays after invoking this method.


QuaquaRootPaneBackground

public QuaquaRootPaneBackground(java.awt.Color plainColor,
                                java.awt.Color[] activeTextureColors,
                                java.awt.Color[] inactiveTextureColors)
Note: For efficiency reasons this method stores the passed in arrays internally without copying them. Do not modify these arrays after invoking this method.

Method Detail

getPaint

public java.awt.Paint getPaint(java.awt.Component c,
                               int x,
                               int y,
                               int width,
                               int height)
Specified by:
getPaint in class PaintableColor

Copyright 2003-2007 (c) Werner Randelshofer.
All rights reserved.