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

Method selectTab

CodenameOne/src/com/codename1/ui/Tabs.java:1343–1347  ·  view source on GitHub ↗
(Component tab)

Source from the content-addressed store, hash-verified

1341 ///
1342 /// - `tab`: the tab
1343 protected void selectTab(Component tab) {
1344 Button b = (Button) tab;
1345 b.fireClicked();
1346 b.requestFocus();
1347 }
1348
1349 /// Enables the Material 3 sliding-underline indicator (off by default).
1350 /// When on, selection changes tween the indicator from the old tab's

Callers 1

setSelectedIndexMethod · 0.95

Calls 2

fireClickedMethod · 0.95
requestFocusMethod · 0.45

Tested by

no test coverage detected