|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.util.ColorUtils
public class ColorUtils
Color utilities
Constructor Summary | |
---|---|
ColorUtils()
|
Method Summary | |
---|---|
static java.lang.String |
colorToHex(java.awt.Color color)
Returns the hex string of a color |
static java.awt.Color |
hexToColor(java.lang.String hex)
Converts a hex to a color |
static java.awt.Color |
hexToColor(java.lang.String hex,
java.awt.Color fallback)
Convert a hex to a Color |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorUtils()
Method Detail |
---|
public static java.lang.String colorToHex(java.awt.Color color)
public static java.awt.Color hexToColor(java.lang.String hex)
public static java.awt.Color hexToColor(java.lang.String hex, java.awt.Color fallback)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |