This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.swing.plaf
class ColorUIResource

java.lang.Object extended by java.awt.Color extended by javax.swing.plaf.ColorUIResource
All Implemented Interfaces:
Paint, Serializable, UIResource

Most common way to construct:

ColorUIResource primary1 = new ColorUIResource(102, 102, 102);

Based on 322 examples


public class ColorUIResource
extends Color
implements UIResource


Field Summary
 
Fields inherited from class java.awt.Color
black, BLACK, blue, BLUE, cyan, CYAN, darkGray, DARK_GRAY, gray, GRAY, green, GREEN, lightGray, LIGHT_GRAY, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOW
 
Constructor Summary

          
ColorUIResource(float r, float g, float b)

          
ColorUIResource(int rgb)

          
ColorUIResource(int r, int g, int b)

          
 
Method Summary
 
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorUIResource

public ColorUIResource(Color c)
Parameters:
c

ColorUIResource

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

ColorUIResource

public ColorUIResource(int rgb)
Parameters:
rgb

ColorUIResource

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


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.