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

Method checkIndex

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

Source from the content-addressed store, hash-verified

1071 }
1072
1073 private void checkIndex(int index) {
1074 if (index < 0 || index > tabsContainer.getComponentCount()) {
1075 throw new IndexOutOfBoundsException("Index: " + index);
1076 }
1077 }
1078
1079 /// Returns the index of the tab for the specified component.
1080 /// Returns -1 if there is no tab for this component.

Callers 8

insertTabMethod · 0.95
setTabTitleMethod · 0.95
getTabTitleMethod · 0.95
getTabIconMethod · 0.95
getTabSelectedIconMethod · 0.95
setTabSelectedIconMethod · 0.95
removeTabAtMethod · 0.95
getTabComponentAtMethod · 0.95

Calls 1

getComponentCountMethod · 0.65

Tested by

no test coverage detected