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

Method insertTab

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

Source from the content-addressed store, hash-verified

737 ///
738 /// - #removeTabAt
739 public void insertTab(String title, Image icon, Component component,
740 int index) {
741 Component b = createTab(title != null ? title : "", icon);
742 insertTab(b, component, index);
743 }
744
745 /// Inserts a `component`, at `index`,
746 /// represented by a `title` and/or `icon`,

Callers 5

addTabMethod · 0.95
startMethod · 0.95
tabsInsertTabMethod · 0.95
importDataMethod · 0.80
enableTabDraggingMethod · 0.80

Calls 12

createTabMethod · 0.95
checkIndexMethod · 0.95
setUIIDMethod · 0.95
addFocusListenerMethod · 0.95
bindTabActionListenerMethod · 0.95
setTabsLayoutMethod · 0.95
initTabsFocusMethod · 0.95
checkTabsCanBeSeenMethod · 0.95
setBlockFocusMethod · 0.80
addComponentMethod · 0.65
getComponentCountMethod · 0.65
getComponentAtMethod · 0.45

Tested by 2

tabsInsertTabMethod · 0.76
enableTabDraggingMethod · 0.64