public class TabItem extends Object
Constructor and Description |
---|
TabItem(TabSet tabset,
String text,
String id) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(TabListener listener) |
void |
dispose() |
Object |
getControl() |
String |
getId() |
org.eclipse.swt.custom.CTabItem |
getSwtTabItem() |
TabSet |
getTabset() |
String |
getText() |
boolean |
isChanged() |
boolean |
isDisposed() |
boolean |
notifyCloseListeners() |
void |
notifyDeselectListeners() |
void |
notifySelectListeners() |
void |
removeListener(TabListener listener) |
void |
setChanged(boolean changed) |
void |
setControl(org.eclipse.swt.widgets.Control control) |
void |
setId(String id) |
void |
setImage(org.eclipse.swt.graphics.Image image) |
void |
setTabset(TabSet tabset) |
void |
setText(String text) |
void |
setToolTipText(String tip) |
public org.eclipse.swt.custom.CTabItem getSwtTabItem()
public String getText()
public Object getControl()
public void setControl(org.eclipse.swt.widgets.Control control)
public String getId()
public void setId(String id)
public TabSet getTabset()
public void setTabset(TabSet tabset)
public void setText(String text)
public boolean isDisposed()
public void dispose()
public void setToolTipText(String tip)
public void setImage(org.eclipse.swt.graphics.Image image)
public void setChanged(boolean changed)
public void addListener(TabListener listener)
public void removeListener(TabListener listener)
public void notifySelectListeners()
public void notifyDeselectListeners()
public boolean notifyCloseListeners()
public boolean isChanged()