public void setTabWidth(int tabWidth) {
this.tabWidth = tabWidth;
}
protected void close(TabItem item) {
TabPanelEvent e = new TabPanelEvent(this, item);
if (item.isClosable() && item.fireEvent(Events.BeforeClose, e) && remove(item)) {
item.fireEvent(Events.Close, new TabPanelEvent(this, item));
}
}