|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.simBio.sim.analyzer.graph.ColorUtil
public class ColorUtil
Colour-related utility class.
Constructor Summary | |
---|---|
ColorUtil()
|
Method Summary | |
---|---|
static java.awt.Color |
stringToColor(java.lang.String color)
Returns a Color object, from a string which shows the colour. The string which displays the colour has the 2 patterns below #RRGGBB : Specifies each R,G,B with base 16 numbers {@.en RED, WHITE, ... |
static java.awt.Color |
stringToColor(java.lang.String color,
java.awt.Color defaultColor)
Returns a Color object, from a string which shows the colour. The string which displays the colour has the 2 patterns below #RRGGBB : Specifies each R,G,B with base 16 numbers {@.en RED, WHITE, ... |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorUtil()
Method Detail |
---|
public static java.awt.Color stringToColor(java.lang.String color)
color
- string which shows the colour
public static java.awt.Color stringToColor(java.lang.String color, java.awt.Color defaultColor)
color
- string that shows the colour defaultColor
- return value in the case of an incorrect parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |