- java.lang.Object
-
- java.awt.Color
-
- javax.swing.plaf.ColorUIResource
-
- All Implemented Interfaces:
- Paint, Transparency, Serializable, UIResource
public class ColorUIResource extends Color implements UIResource
-
-
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
Constructors Constructor and Description ColorUIResource(Color c)
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
-
-
-
-
Constructor Detail
-
ColorUIResource
@ConstructorProperties(value={"red","green","blue"}) 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)
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/swing/plaf/coloruiresource.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.