MCPcopy Create free account
hub / github.com/PCGen/pcgen / initColor

Method initColor

code/src/java/pcgen/gui2/UIPropertyContext.java:127–132  ·  view source on GitHub ↗
(String key, Color defaultValue)

Source from the content-addressed store, hash-verified

125 }
126
127 private Color initColor(String key, Color defaultValue)
128 {
129 String prop = initProperty(key, ColorUtilty.colorToRGBString(defaultValue));
130 Logging.debugPrint("init color " + key + " to " + prop);
131 return Color.valueOf(prop);
132 }
133
134 public static Color getCustomItemColor()
135 {

Calls 4

colorToRGBStringMethod · 0.95
debugPrintMethod · 0.95
initPropertyMethod · 0.80
valueOfMethod · 0.45

Tested by

no test coverage detected