Package org.pentaho.xul.swt.tab
Class TabSet
java.lang.Object
org.pentaho.xul.swt.tab.TabSet
- All Implemented Interfaces:
EventListener
,org.eclipse.swt.custom.CTabFolder2Listener
,org.eclipse.swt.events.SelectionListener
,org.eclipse.swt.internal.SWTEventListener
public class TabSet
extends Object
implements org.eclipse.swt.events.SelectionListener, org.eclipse.swt.custom.CTabFolder2Listener
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.eclipse.swt.graphics.Font
protected int
protected org.eclipse.swt.custom.CTabFolder
protected org.eclipse.swt.graphics.Font
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addKeyListener
(org.eclipse.swt.events.KeyAdapter keys) void
addListener
(TabListener listener) void
void
close
(org.eclipse.swt.custom.CTabFolderEvent event) protected org.eclipse.swt.custom.CTabFolder
createTabFolder
(org.eclipse.swt.widgets.Composite parent) org.eclipse.swt.graphics.Font
int
org.eclipse.swt.custom.CTabFolder
org.eclipse.swt.graphics.Font
int
void
maximize
(org.eclipse.swt.custom.CTabFolderEvent event) void
minimize
(org.eclipse.swt.custom.CTabFolderEvent event) boolean
notifyCloseListeners
(TabItem item) void
void
notifySelectListeners
(TabItem item) void
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)
-
Field Details
-
tabfolder
protected org.eclipse.swt.custom.CTabFolder tabfolder -
tabList
-
selectedIndex
protected int selectedIndex -
changedFont
protected org.eclipse.swt.graphics.Font changedFont -
unchangedFont
protected org.eclipse.swt.graphics.Font unchangedFont -
lastUsedTabs
-
-
Constructor Details
-
TabSet
public TabSet(org.eclipse.swt.widgets.Composite parent)
-
-
Method Details
-
widgetSelected
public void widgetSelected(org.eclipse.swt.events.SelectionEvent event) - Specified by:
widgetSelected
in interfaceorg.eclipse.swt.events.SelectionListener
-
widgetDefaultSelected
public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent event) - Specified by:
widgetDefaultSelected
in interfaceorg.eclipse.swt.events.SelectionListener
-
close
public void close(org.eclipse.swt.custom.CTabFolderEvent event) - Specified by:
close
in interfaceorg.eclipse.swt.custom.CTabFolder2Listener
-
maximize
public void maximize(org.eclipse.swt.custom.CTabFolderEvent event) - Specified by:
maximize
in interfaceorg.eclipse.swt.custom.CTabFolder2Listener
-
minimize
public void minimize(org.eclipse.swt.custom.CTabFolderEvent event) - Specified by:
minimize
in interfaceorg.eclipse.swt.custom.CTabFolder2Listener
-
showList
public void showList(org.eclipse.swt.custom.CTabFolderEvent event) - Specified by:
showList
in interfaceorg.eclipse.swt.custom.CTabFolder2Listener
-
restore
public void restore(org.eclipse.swt.custom.CTabFolderEvent event) - Specified by:
restore
in interfaceorg.eclipse.swt.custom.CTabFolder2Listener
-
notifySelectListeners
-
createTabFolder
protected org.eclipse.swt.custom.CTabFolder createTabFolder(org.eclipse.swt.widgets.Composite parent) -
notifyDeselectListeners
-
notifyCloseListeners
-
getSwtTabset
public org.eclipse.swt.custom.CTabFolder getSwtTabset() -
addTab
-
addKeyListener
public void addKeyListener(org.eclipse.swt.events.KeyAdapter keys) -
getSelectedIndex
public int getSelectedIndex() -
getSelected
-
indexOf
-
setSelected
public void setSelected(int index) -
setSelected
-
remove
-
getChangedFont
public org.eclipse.swt.graphics.Font getChangedFont() -
setChangedFont
public void setChangedFont(org.eclipse.swt.graphics.Font changedFont) -
getUnchangedFont
public org.eclipse.swt.graphics.Font getUnchangedFont() -
addListener
-
removeListener
-