MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / getTabs

Method getTabs

src/org/opensourcephysics/tools/DataTool.java:675–681  ·  view source on GitHub ↗

Returns a list of all open tabs. @return a list of DataToolTabs

()

Source from the content-addressed store, hash-verified

673 * @return a list of DataToolTabs
674 */
675 public List<DataToolTab> getTabs() {
676 List<DataToolTab> tabs = new ArrayList<DataToolTab>();
677 for (int i = 0; i < getTabCount(); i++) {
678 tabs.add(getTab(i));
679 }
680 return tabs;
681 }
682
683 /**
684 * Opens an xml or data file specified by name.

Callers

nothing calls this directly

Calls 3

getTabCountMethod · 0.95
getTabMethod · 0.95
addMethod · 0.45

Tested by

no test coverage detected