|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.psika.numerist.Style.ConfigColor
protected static class Style.ConfigColor
Static class with static methods returning Color
objects
initialized from configuration strings.
Constructor Summary | |
---|---|
protected |
Style.ConfigColor()
|
Method Summary | |
---|---|
static java.awt.Color |
getColor(java.lang.String colorString,
java.awt.Color defaultColor)
Get color from configuration string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Style.ConfigColor()
Method Detail |
---|
public static java.awt.Color getColor(java.lang.String colorString, java.awt.Color defaultColor)
colorString
- configuration stringdefaultColor
- default color to return when parsing fails or empty string color supplied via argument
Color
object or default color when not possible to parse string of empty string supplied
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |