|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.simBio.sim.analyzer.graph.ColorUtil
public class ColorUtil
Colour-related utility class.
Constructor Summary | |
---|---|
ColorUtil()
|
Method Summary | |
---|---|
static Color |
stringToColor(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 Color |
stringToColor(String color,
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 Color stringToColor(String color)
color
- string which shows the colour
public static Color stringToColor(String color, 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 |