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

Method setSelectedIndex

CodenameOne/src/com/codename1/ui/Tabs.java:1127–1129  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

1125 /// - `IndexOutOfBoundsException`: @throws IndexOutOfBoundsException if index is out of range
1126 /// (index = tab count)
1127 public void setSelectedIndex(int index) {
1128 setSelectedIndex(index, false);
1129 }
1130
1131 /// Returns the component associated with the tab at the given index
1132 ///

Callers 14

animateMethod · 0.95
actionPerformedMethod · 0.95
removeTabAtMethod · 0.95
restoreComponentStateMethod · 0.95
runTestMethod · 0.95
populateMethod · 0.95
startMethod · 0.95
testSafeAreasSampleMethod · 0.95
testTabsAnimationMethod · 0.95

Calls 13

createTabSlideMotionMethod · 0.95
selectTabMethod · 0.95
fireSelectionEventMethod · 0.80
getComponentCountMethod · 0.65
getXMethod · 0.65
getYMethod · 0.65
startMethod · 0.65
getComponentFormMethod · 0.45
getComponentAtMethod · 0.45
setLightweightModeMethod · 0.45

Tested by 9

runTestMethod · 0.76
populateMethod · 0.76
testSafeAreasSampleMethod · 0.76
testTabsAnimationMethod · 0.76
tabsSelectedIndexMethod · 0.76