code: function( contentItem ) {
  		var i, j, isActive, activeTab;
  
  		if (this.activeContentItem === contentItem) return;
  		
  		for( i = 0; i < this.tabs.length; i++ ) {
  			isActive = this.tabs[ i ].contentItem === contentItem;
  			this.tabs[ i ].setActive( isActive );
  			if( isActive === true ) {
  				this.activeContentItem = contentItem;
  				this.parent.config.activeItemIndex = i;
  			}
  		}
  
  		if (this.layoutManager.config.settings.reorderOnTabMenuClick) {
  			/**
  			 * If the tab selected was in the dropdown, move everything down one to make way for this one to be the first.
  			 * This will make sure the most used tabs stay visible.
  			 */
  			if (this._lastVisibleTabIndex !== -1 && this.parent.config.activeItemIndex > this._lastVisibleTabIndex) {
  				activeTab = this.tabs[this.parent.config.activeItemIndex];
  				for ( j = this.parent.config.activeItemIndex; j > 0; j-- ) {
  					this.tabs[j] = this.tabs[j - 1];
  				}
  				this.tabs[0]                       = activeTab;
  				this.parent.config.activeItemIndex = 0;
  			}
  		}
  
  		this._updateTabSizes();
  		this.parent.emitBubblingEvent( 'stateChanged' );
  	}
docs: The programmatical equivalent of clicking a Tab.
  
  @param {lm.item.AbstractContentItem} contentItem