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

Method indexOfComponent

CodenameOne/src/com/codename1/ui/Tabs.java:1090–1092  ·  view source on GitHub ↗
(Component component)

Source from the content-addressed store, hash-verified

1088 /// @return the first tab which matches this component, or -1
1089 /// if there is no tab for this component
1090 public int indexOfComponent(Component component) {
1091 return contentPane.getComponentIndex(component);
1092 }
1093
1094 /// Returns the number of tabs in this `tabbedpane`.
1095 ///

Callers

nothing calls this directly

Calls 1

getComponentIndexMethod · 0.45

Tested by

no test coverage detected