|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.swt.custom.CTabFolder2Adapter
net.sourceforge.java.feednread.frontend.components.tabbar.NewsFeedTabBar.TabHandler
Internal Event Handler to react on closing tabs. If a tab is closed the internal management structures are updated.
| Constructor Summary | |
private |
NewsFeedTabBar.TabHandler()
|
| Method Summary | |
void |
close(CTabFolderEvent event)
Called when a tab has been closed. |
private void |
selectionChanged(SelectionEvent event)
If the tab selection changed adjust the tab view depending on the type of tab. |
void |
widgetDefaultSelected(SelectionEvent event)
Called when a tab has been default selected. |
void |
widgetSelected(SelectionEvent event)
Called when a tab has been selected. |
| Methods inherited from class org.eclipse.swt.custom.CTabFolder2Adapter |
maximize, minimize, restore, showList |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
private NewsFeedTabBar.TabHandler()
| Method Detail |
public void close(CTabFolderEvent event)
Called when a tab has been closed. This methods evaluates the closed tab and removes its data entry from the underlying management structure depending on the tab type, i.e. newsfeed or browser tab.
close in interface CTabFolder2Listenerevent - the CTabFolderEvent triggeredpublic void widgetSelected(SelectionEvent event)
Called when a tab has been selected.
widgetSelected in interface SelectionListenerevent - the SelectionEvent triggeredpublic void widgetDefaultSelected(SelectionEvent event)
Called when a tab has been default selected.
widgetDefaultSelected in interface SelectionListenerevent - the SelectionEvent triggeredprivate void selectionChanged(SelectionEvent event)
If the tab selection changed adjust the tab view depending on the
type of tab. If a browser tab has been selected the enclosing split
screen is maximized and the NewsContentView hidden.
Otherwiese a newsfeed tab has been selected and the enclosing split
screen is restored and the NewsContentView shown.
event - the SelectionEvent triggered
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||