Class ColorParser
- java.lang.Object
-
- net.sourceforge.plantuml.graphic.color.ColorParser
-
public class ColorParser extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegexLeaf
exp1()
static RegexLeaf
exp2()
static RegexLeaf
exp3()
static RegexLeaf
exp4()
static RegexLeaf
exp6()
static RegexLeaf
exp7()
Colors
getColor(ThemeStyle themeStyle, RegexResult arg, HColorSet set)
RegexLeaf
getRegex()
static ColorParser
mandatoryColor(ColorType mainType)
static ColorParser
simpleColor(java.lang.String optPrefix, ColorType mainType)
static ColorParser
simpleColor(ColorType mainType)
static ColorParser
simpleColor(ColorType mainType, java.lang.String id)
-
-
-
Method Detail
-
getColor
public Colors getColor(ThemeStyle themeStyle, RegexResult arg, HColorSet set) throws NoSuchColorException
- Throws:
NoSuchColorException
-
simpleColor
public static ColorParser simpleColor(ColorType mainType)
-
simpleColor
public static ColorParser simpleColor(ColorType mainType, java.lang.String id)
-
mandatoryColor
public static ColorParser mandatoryColor(ColorType mainType)
-
simpleColor
public static ColorParser simpleColor(java.lang.String optPrefix, ColorType mainType)
-
exp1
public static RegexLeaf exp1()
-
exp2
public static RegexLeaf exp2()
-
exp3
public static RegexLeaf exp3()
-
exp4
public static RegexLeaf exp4()
-
exp6
public static RegexLeaf exp6()
-
exp7
public static RegexLeaf exp7()
-
getRegex
public RegexLeaf getRegex()
-
-