public class ColorUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static StandardColors |
standardColors |
(package private) static java.lang.String[] |
stdColorNames |
(package private) static java.awt.Color[] |
stdColors |
Constructor and Description |
---|
ColorUtil() |
Modifier and Type | Method and Description |
---|---|
static java.awt.Color |
brighter(java.awt.Color c) |
static java.awt.Color |
darker(java.awt.Color c) |
static java.awt.Color |
deserialize(java.lang.String s) |
static java.lang.String |
hexString(java.awt.Color c) |
static java.awt.Color |
linMod(java.awt.Color c,
int d) |
static java.awt.Color |
myBrighter(java.awt.Color c) |
static java.awt.Color |
myDarker(java.awt.Color c) |
static java.awt.Color |
oldParseColor(java.lang.String s) |
static java.awt.Color |
parseColor(java.lang.String s) |
static java.awt.Color |
parseHexColor(java.lang.String s) |
static java.lang.String |
serializeColor(java.awt.Color c) |
private static java.awt.Color |
simpleLookup(java.lang.String s) |
static java.awt.Color |
slightlyBrighter(java.awt.Color c) |
static java.awt.Color |
slightlyDarker(java.awt.Color c) |
static java.awt.Color |
verySlightlyBrighter(java.awt.Color c) |
static java.awt.Color |
verySlightlyDarker(java.awt.Color c) |
static StandardColors standardColors
static java.lang.String[] stdColorNames
static java.awt.Color[] stdColors
public static final java.awt.Color brighter(java.awt.Color c)
public static final java.awt.Color darker(java.awt.Color c)
public static final java.awt.Color slightlyBrighter(java.awt.Color c)
public static final java.awt.Color slightlyDarker(java.awt.Color c)
public static final java.awt.Color verySlightlyBrighter(java.awt.Color c)
public static final java.awt.Color verySlightlyDarker(java.awt.Color c)
public static final java.awt.Color myBrighter(java.awt.Color c)
public static final java.awt.Color myDarker(java.awt.Color c)
public static final java.awt.Color linMod(java.awt.Color c, int d)
public static java.awt.Color deserialize(java.lang.String s)
public static java.awt.Color parseColor(java.lang.String s)
private static java.awt.Color simpleLookup(java.lang.String s)
public static java.awt.Color parseHexColor(java.lang.String s)
public static java.awt.Color oldParseColor(java.lang.String s)
public static java.lang.String serializeColor(java.awt.Color c)
public static java.lang.String hexString(java.awt.Color c)
Copyright © 2013. All Rights Reserved.