MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / setLabelUIID

Method setLabelUIID

CodenameOne/src/com/codename1/ui/Label.java:529–542  ·  view source on GitHub ↗
(String id)

Source from the content-addressed store, hash-verified

527 }
528
529 private void setLabelUIID(String id) {
530 if (id != null && id.length() > 0) {
531 String iconUIID = getUIManager().getIconUIIDFor(id);
532 if (iconUIID != null) {
533 setIconUIID(iconUIID);
534 }
535 }
536
537 if (materialIcon != 0) {
538 FontImage.setMaterialIcon(this, materialIcon, materialIconSize);
539 } else if (fontIcon != 0) {
540 FontImage.setFontIcon(this, font, fontIcon, fontIconSize);
541 }
542 }
543
544 /// {@inheritDoc}
545 @Override

Callers 2

LabelMethod · 0.95
setUIIDMethod · 0.95

Calls 6

setIconUIIDMethod · 0.95
setMaterialIconMethod · 0.95
setFontIconMethod · 0.95
getIconUIIDForMethod · 0.80
lengthMethod · 0.65
getUIManagerMethod · 0.45

Tested by

no test coverage detected