selectTab(selectedTab, selectedTabIndex) {
      if (!this.fireEvent("tab-select", {
        tab: selectedTab,
        tabIndex: selectedTabIndex
      }, true)) {
        return false;
      }
      // select the tab
      this._selectedTab = selectedTab;
      return true;
    }
Fires the <code>tab-select</code> event and changes the internal reference for the currently selected tab.
If the event is prevented, the current tab is not changed.
@private

@param {sap.ui.webc.main.ITab} selectedTab selected tab instance
@param {number} selectedTabIndex selected tab index for an array containing all tabs and sub tabs. <b>Note:</b> Use the method <code>allTabs</code> to get this array.
@returns {boolean} true if the tab selection is successful, false if it was prevented