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