function TabComponent(parent, closeable, container, index, title, icon)
{
	Component.call(this, parent, "div");

	this.element.style.overflow = "visible";
	this.element.style.backgroundColor = "var(--panel-color)";
	this.preventDragEvents();

	/**
	 * Pointer to the group where this tab is.
	 *
	 * @property container
	 * @type {TabGroup}
	 */
	this.container = container;

	/**
	 * UUID of this tab.
	 *
	 * @property uuid
	 * @type {string}
	 */
	this.uuid = Math.generateUUID();

	/**
	 * Index of the tab inside of the container
	 *
	 * @property index
	 * @type {number}
	 */
	this.index = index;

	/**
	 * Pointer to the button associated with this tab.
	 *
	 * @property container
	 * @type {TabButton}
	 */
	this.button = null;

	// Meta
	this.closeable = closeable;
	this.title = title;
	this.icon = icon;

	/**
	 * Indicates if the tab is currently active (on display).
	 *
	 * @property active
	 * @type {boolean}
	 */
	this.active = false;
}
Tab element is used to create tabbed elements.

These are used to implement the main components of the interface (editors, menus, etc).

@class TabComponent
@extends {Component}
@param {Component} parent Parent element.
@param {boolean} closeable If false the tab cannot be closed.
@param {TabContainer} container Container for this tab.
@param {number} index Index of the tab.
@param {string} title Title of the tab.
@param {string} icon Icon of the tab.