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

Method setLoadLabel

code/src/java/pcgen/gui2/tabs/EquipInfoTab.java:383–388  ·  view source on GitHub ↗
(Load encumbrance)

Source from the content-addressed store, hash-verified

381 }
382
383 public void setLoadLabel(Load encumbrance)
384 {
385 loadLabel.setText(encumbrance.name());
386 loadLabel.setFont(encumbrance.getFont(loadLabel.getFont()));
387 loadLabel.setForeground(ColorUtilty.colorToAWTColor(encumbrance.getColor()));
388 }
389
390 @Override
391 public void adviseTodo(String fieldName)

Callers 2

installMethod · 0.80
referenceChangedMethod · 0.80

Calls 5

colorToAWTColorMethod · 0.95
nameMethod · 0.80
getFontMethod · 0.80
setTextMethod · 0.45
getColorMethod · 0.45

Tested by

no test coverage detected