Class BackgroundColor
- java.lang.Object
-
- java.awt.Color
-
- com.vladsch.flexmark.util.html.ui.BackgroundColor
-
- All Implemented Interfaces:
Paint,Transparency,Serializable
public class BackgroundColor extends Color
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BackgroundColorBLACKstatic BackgroundColorBLUEstatic BackgroundColorCYANstatic BackgroundColorDARK_GRAYstatic BackgroundColorGRAYstatic BackgroundColorGREENstatic BackgroundColorLIGHT_GRAYstatic BackgroundColorMAGENTAstatic BackgroundColorNULLstatic BackgroundColorORANGEstatic BackgroundColorPINKstatic BackgroundColorREDstatic BackgroundColorWHITEstatic BackgroundColorYELLOW-
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
Constructors Modifier Constructor Description protectedBackgroundColor(int rgb)protectedBackgroundColor(Color other)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BackgroundColorof(int rgb)static BackgroundColorof(Color color)static BackgroundColorof(String colorName)-
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
-
-
-
-
Field Detail
-
NULL
public static final BackgroundColor NULL
-
WHITE
public static final BackgroundColor WHITE
-
LIGHT_GRAY
public static final BackgroundColor LIGHT_GRAY
-
GRAY
public static final BackgroundColor GRAY
-
DARK_GRAY
public static final BackgroundColor DARK_GRAY
-
BLACK
public static final BackgroundColor BLACK
-
RED
public static final BackgroundColor RED
-
PINK
public static final BackgroundColor PINK
-
ORANGE
public static final BackgroundColor ORANGE
-
YELLOW
public static final BackgroundColor YELLOW
-
GREEN
public static final BackgroundColor GREEN
-
MAGENTA
public static final BackgroundColor MAGENTA
-
CYAN
public static final BackgroundColor CYAN
-
BLUE
public static final BackgroundColor BLUE
-
-
Constructor Detail
-
BackgroundColor
protected BackgroundColor(Color other)
-
BackgroundColor
protected BackgroundColor(int rgb)
-
-
Method Detail
-
of
public static BackgroundColor of(Color color)
-
of
public static BackgroundColor of(int rgb)
-
of
public static BackgroundColor of(String colorName)
-
-