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

Method addTab

CodenameOne/src/com/codename1/ui/Tabs.java:495–497  ·  view source on GitHub ↗
(String title, Image icon, Component component)

Source from the content-addressed store, hash-verified

493 ///
494 /// - #removeTabAt
495 public void addTab(String title, Image icon, Component component) {
496 insertTab(title, icon, component, tabsContainer.getComponentCount());
497 }
498
499 /// Adds a `component`
500 /// represented by a `title` and/or `icon`,

Callers 15

actionPerformedMethod · 0.95
runTestMethod · 0.95
populateMethod · 0.95
startMethod · 0.95
startMethod · 0.95
startMethod · 0.95
startMethod · 0.95
startMethod · 0.95
startMethod · 0.95
startMethod · 0.95
testNestedTabsMethod · 0.95

Calls 4

insertTabMethod · 0.95
setTabSelectedIconMethod · 0.95
getMaterialDesignFontMethod · 0.95
getComponentCountMethod · 0.65

Tested by 15

runTestMethod · 0.76
populateMethod · 0.76
startMethod · 0.76
startMethod · 0.76
startMethod · 0.76
startMethod · 0.76
testNestedTabsMethod · 0.76
testSafeAreasSampleMethod · 0.76
testTabsAnimationMethod · 0.76