JavaTM 2 Platform
Std. Ed. v1.3.1

javax.swing.plaf
Class ColorUIResource

java.lang.Object
  |
  +--java.awt.Color
        |
        +--javax.swing.plaf.ColorUIResource
All Implemented Interfaces:
Paint, Serializable, Transparency, UIResource

public class ColorUIResource
extends Color
implements UIResource

See Also:
Serialized Form

Fields inherited from class java.awt.Color
black, blue, cyan, darkGray, gray, green, lightGray, magenta, orange, pink, red, white, yellow
 
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
 
Constructor Summary
ColorUIResource(Color c)
           
ColorUIResource(float r, float g, float b)
           
ColorUIResource(int rgb)
           
ColorUIResource(int r, int g, int b)
           
 
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

ColorUIResource

public ColorUIResource(int r,
                       int g,
                       int b)

ColorUIResource

public ColorUIResource(int rgb)

ColorUIResource

public ColorUIResource(float r,
                       float g,
                       float b)

ColorUIResource

public ColorUIResource(Color c)

JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.