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

Method getColor

code/src/java/pcgen/gui2/UIPropertyContext.java:108–119  ·  view source on GitHub ↗
(String key)

Source from the content-addressed store, hash-verified

106
107
108 private Color getColor(String key)
109 {
110 String prop = getProperty(key);
111 if (prop == null)
112 {
113 Logging.debugPrint("null color for " + key);
114 return null;
115 }
116
117 Logging.debugPrint("color for " + key + " = " + prop);
118 return Color.valueOf(prop);
119 }
120
121 private void setColor(String key, Color color)
122 {

Callers 9

getCustomItemColorMethod · 0.45
getQualifiedColorMethod · 0.45
getNotQualifiedColorMethod · 0.45
getAutomaticColorMethod · 0.45
getVirtualColorMethod · 0.45
paintMethod · 0.45
setLoadLabelMethod · 0.45
updateUIMethod · 0.45

Calls 3

debugPrintMethod · 0.95
getPropertyMethod · 0.45
valueOfMethod · 0.45

Tested by

no test coverage detected