| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static double | |
| private static Color | |
| private static Color | |
| public static Color | Returns: the color, ornull if colorString is not a valid color representationParses a color string as specified by |
| public static Color | Returns: the color, ornull if colorString is not a valid color representationParses a color string as specified by |
| private static boolean | |
| private static boolean | |
| private static boolean |
| NAMED_COLORS | back to summary |
|---|---|
| private static final Map<String, Color> NAMED_COLORS | |
| PARSE_ALPHA | back to summary |
|---|---|
| private static final int PARSE_ALPHA | |
| PARSE_ANGLE | back to summary |
|---|---|
| private static final int PARSE_ANGLE | |
| PARSE_COMPONENT | back to summary |
|---|---|
| private static final int PARSE_COMPONENT | |
| PARSE_PERCENT | back to summary |
|---|---|
| private static final int PARSE_PERCENT | |
| CssColorParser | back to summary |
|---|---|
| private CssColorParser() | |
| parseComponent | back to summary |
|---|---|
| private static double parseComponent(String color, int off, int end, int type) | |
| parseHSLColor | back to summary |
|---|---|
| private static Color parseHSLColor(String color, int hoff, boolean hasAlpha, double a) | |
| parseRGBColor | back to summary |
|---|---|
| private static Color parseRGBColor(String color, int roff, boolean hasAlpha, double a) | |
| tryParseColor | back to summary |
|---|---|
| public static Color tryParseColor(String colorString) Parses a color string as specified by
| |
| tryParseColor | back to summary |
|---|---|
| public static Color tryParseColor(String colorString, double opacity) Parses a color string as specified by
| |
| validInt | back to summary |
|---|---|
| private static boolean validInt(long value) | |
| validInts | back to summary |
|---|---|
| private static boolean validInts(long value1, long value2, long value3) | |
| validInts | back to summary |
|---|---|
| private static boolean validInts(long value1, long value2, long value3, long value4) | |