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

Method setTabSelectedIcon

CodenameOne/src/com/codename1/ui/Tabs.java:1000–1003  ·  view source on GitHub ↗
(int index, Image icon)

Source from the content-addressed store, hash-verified

998 ///
999 /// - `icon`: of the tab at the given index
1000 public void setTabSelectedIcon(int index, Image icon) {
1001 checkIndex(index);
1002 setTabSelectedIcon(tabsContainer.getComponentAt(index), icon);
1003 }
1004
1005 /// Sets the selected icon of the tab. This method should be used when overriding
1006 /// createTab

Callers 2

addTabMethod · 0.95
setPropertyValueMethod · 0.95

Calls 3

checkIndexMethod · 0.95
setPressedIconMethod · 0.65
getComponentAtMethod · 0.45

Tested by

no test coverage detected