Class ColorUIResource
- java.lang.Object
-
- java.awt.Color
-
- javax.swing.plaf.ColorUIResource
- All Implemented Interfaces:
- Paint, Transparency, Serializable, UIResource
public class ColorUIResource extends Color implements UIResource
Fields
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 Constructors
| Constructor and Description |
|---|
ColorUIResource(Color c) |
ColorUIResource(float r,
float g,
float b) |
ColorUIResource(int rgb) |
ColorUIResource(int r,
int g,
int b) |
Methods
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 Constructors
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)
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/javax/swing/plaf/ColorUIResource.html