Class 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 Detail

      • tabfolder

        protected org.eclipse.swt.custom.CTabFolder tabfolder
      • selectedIndex

        protected int selectedIndex
      • changedFont

        protected org.eclipse.swt.graphics.Font changedFont
      • unchangedFont

        protected org.eclipse.swt.graphics.Font unchangedFont
    • Constructor Detail

      • TabSet

        public TabSet​(org.eclipse.swt.widgets.Composite parent)
    • Method Detail

      • widgetSelected

        public void widgetSelected​(org.eclipse.swt.events.SelectionEvent event)
        Specified by:
        widgetSelected in interface org.eclipse.swt.events.SelectionListener
      • widgetDefaultSelected

        public void widgetDefaultSelected​(org.eclipse.swt.events.SelectionEvent event)
        Specified by:
        widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener
      • close

        public void close​(org.eclipse.swt.custom.CTabFolderEvent event)
        Specified by:
        close in interface org.eclipse.swt.custom.CTabFolder2Listener
      • maximize

        public void maximize​(org.eclipse.swt.custom.CTabFolderEvent event)
        Specified by:
        maximize in interface org.eclipse.swt.custom.CTabFolder2Listener
      • minimize

        public void minimize​(org.eclipse.swt.custom.CTabFolderEvent event)
        Specified by:
        minimize in interface org.eclipse.swt.custom.CTabFolder2Listener
      • showList

        public void showList​(org.eclipse.swt.custom.CTabFolderEvent event)
        Specified by:
        showList in interface org.eclipse.swt.custom.CTabFolder2Listener
      • restore

        public void restore​(org.eclipse.swt.custom.CTabFolderEvent event)
        Specified by:
        restore in interface org.eclipse.swt.custom.CTabFolder2Listener
      • notifySelectListeners

        public void notifySelectListeners​(TabItem item)
      • createTabFolder

        protected org.eclipse.swt.custom.CTabFolder createTabFolder​(org.eclipse.swt.widgets.Composite parent)
      • notifyDeselectListeners

        public void notifyDeselectListeners​(TabItem item)
      • notifyCloseListeners

        public boolean notifyCloseListeners​(TabItem item)
      • getSwtTabset

        public org.eclipse.swt.custom.CTabFolder getSwtTabset()
      • addTab

        public void addTab​(TabItem item)
      • addKeyListener

        public void addKeyListener​(org.eclipse.swt.events.KeyAdapter keys)
      • getSelectedIndex

        public int getSelectedIndex()
      • getSelected

        public TabItem getSelected()
      • indexOf

        public int indexOf​(TabItem item)
      • setSelected

        public void setSelected​(int index)
      • setSelected

        public void setSelected​(TabItem item)
      • remove

        public void remove​(TabItem item)
      • 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

        public void addListener​(TabListener listener)
      • removeListener

        public void removeListener​(TabListener listener)