public class TabSet extends Object implements org.eclipse.swt.events.SelectionListener, org.eclipse.swt.custom.CTabFolder2Listener
Modifier and Type | Field and Description |
---|---|
List<TabItem> |
lastUsedTabs |
Constructor and Description |
---|
TabSet(org.eclipse.swt.widgets.Composite parent) |
Modifier and Type | Method and Description |
---|---|
void |
addKeyListener(org.eclipse.swt.events.KeyAdapter keys) |
void |
addListener(TabListener listener) |
void |
addTab(TabItem item) |
void |
close(org.eclipse.swt.custom.CTabFolderEvent event) |
org.eclipse.swt.graphics.Font |
getChangedFont() |
TabItem |
getSelected() |
int |
getSelectedIndex() |
org.eclipse.swt.custom.CTabFolder |
getSwtTabset() |
org.eclipse.swt.graphics.Font |
getUnchangedFont() |
int |
indexOf(TabItem item) |
void |
maximize(org.eclipse.swt.custom.CTabFolderEvent event) |
void |
minimize(org.eclipse.swt.custom.CTabFolderEvent event) |
boolean |
notifyCloseListeners(TabItem item) |
void |
notifyDeselectListeners(TabItem item) |
void |
notifySelectListeners(TabItem item) |
void |
remove(TabItem item) |
void |
removeListener(TabListener listener) |
void |
restore(org.eclipse.swt.custom.CTabFolderEvent event) |
void |
setChangedFont(org.eclipse.swt.graphics.Font changedFont) |
void |
setSelected(int index) |
void |
setSelected(TabItem item) |
void |
showList(org.eclipse.swt.custom.CTabFolderEvent event) |
void |
widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent event) |
void |
widgetSelected(org.eclipse.swt.events.SelectionEvent event) |
public void widgetSelected(org.eclipse.swt.events.SelectionEvent event)
widgetSelected
in interface org.eclipse.swt.events.SelectionListener
public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent event)
widgetDefaultSelected
in interface org.eclipse.swt.events.SelectionListener
public void close(org.eclipse.swt.custom.CTabFolderEvent event)
close
in interface org.eclipse.swt.custom.CTabFolder2Listener
public void maximize(org.eclipse.swt.custom.CTabFolderEvent event)
maximize
in interface org.eclipse.swt.custom.CTabFolder2Listener
public void minimize(org.eclipse.swt.custom.CTabFolderEvent event)
minimize
in interface org.eclipse.swt.custom.CTabFolder2Listener
public void showList(org.eclipse.swt.custom.CTabFolderEvent event)
showList
in interface org.eclipse.swt.custom.CTabFolder2Listener
public void restore(org.eclipse.swt.custom.CTabFolderEvent event)
restore
in interface org.eclipse.swt.custom.CTabFolder2Listener
public void notifySelectListeners(TabItem item)
public void notifyDeselectListeners(TabItem item)
public boolean notifyCloseListeners(TabItem item)
public org.eclipse.swt.custom.CTabFolder getSwtTabset()
public void addTab(TabItem item)
public void addKeyListener(org.eclipse.swt.events.KeyAdapter keys)
public int getSelectedIndex()
public TabItem getSelected()
public int indexOf(TabItem item)
public void setSelected(int index)
public void setSelected(TabItem item)
public void remove(TabItem item)
public org.eclipse.swt.graphics.Font getChangedFont()
public void setChangedFont(org.eclipse.swt.graphics.Font changedFont)
public org.eclipse.swt.graphics.Font getUnchangedFont()
public void addListener(TabListener listener)
public void removeListener(TabListener listener)