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

Method applyTabIconUIID

CodenameOne/src/com/codename1/ui/Tabs.java:693–698  ·  view source on GitHub ↗
(Component b)

Source from the content-addressed store, hash-verified

691 /// (typically `TabIcon`) where it can be declared transparent. Themes that
692 /// don't define the constant get the legacy behavior unchanged.
693 private void applyTabIconUIID(Component b) {
694 String iconUiid = getUIManager().getThemeConstant("tabIconUIID", null);
695 if (iconUiid != null && iconUiid.length() > 0 && b instanceof Label) {
696 ((Label) b).setIconUIID(iconUiid);
697 }
698 }
699
700 /// Creates a tab component by default this is a RadioButton but subclasses can use this to return anything
701 ///

Callers 1

createTabMethod · 0.95

Calls 4

lengthMethod · 0.95
getThemeConstantMethod · 0.80
setIconUIIDMethod · 0.65
getUIManagerMethod · 0.45

Tested by

no test coverage detected