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

Method getSelectedIndex

CodenameOne/src/com/codename1/ui/Tabs.java:1109–1114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1107 ///
1108 /// the index of the selected tab
1109 public int getSelectedIndex() {
1110 if (tabsContainer != null) {
1111 return activeComponent;
1112 }
1113 return -1;
1114 }
1115
1116 /// Sets the selected index for this tabbedpane. The index must be a valid
1117 /// tab index.

Callers 8

getSelectedComponentMethod · 0.95
toStringMethod · 0.95
startMethod · 0.95
testTabsAnimationMethod · 0.95
tabsSelectedIndexMethod · 0.95

Calls

no outgoing calls

Tested by 5

testTabsAnimationMethod · 0.76
tabsSelectedIndexMethod · 0.76