|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.java.feednread.frontend.components.tabbar.AbstractTabItemData
net.sourceforge.java.feednread.frontend.components.tabbar.NewsFeedTabItemData
Tab data class for CTabItems displaying a
NewsFeed in the NewsFeedTabBar ui component.
| Field Summary | |
private List |
favorites
The related Favorites |
private NewsFeedView |
newsView
The NewsFeedView component embedded in the tab associated
with this data object.
|
private Watch |
watch
The Watch related to this NewsFeedTabItemData
|
| Fields inherited from class net.sourceforge.java.feednread.frontend.components.tabbar.AbstractTabItemData |
component, item, mainWindow |
| Fields inherited from interface net.sourceforge.java.feednread.frontend.components.tabbar.ITabItemData |
TYPE_BROWSER_TAB, TYPE_FILTER_TAB, TYPE_MESSAGE_TAB, TYPE_NEWSFEED_TAB |
| Constructor Summary | |
NewsFeedTabItemData(MainApplicationWindow mainWindow,
CTabItem item,
NewsFeedView newsView)
Creates a new NewsFeedTabItemData instance.
|
|
NewsFeedTabItemData(MainApplicationWindow mainWindow,
CTabItem item,
NewsFeedView newsView,
Favorite favorite)
Creates a new NewsFeedTabItemData instance.
|
|
NewsFeedTabItemData(MainApplicationWindow mainWindow,
CTabItem item,
NewsFeedView newsView,
Favorite[] favorites)
Creates a new NewsFeedTabItemData instance.
|
|
NewsFeedTabItemData(MainApplicationWindow mainWindow,
CTabItem item,
NewsFeedView newsView,
Watch watch)
Creates a new NewsFeedTabItemData instance.
|
|
| Method Summary | |
void |
closing(NewsFeedTableStatusChangedEvent event)
Triggered when the NewsFeedTable is about to be closed.
|
void |
dispose()
Disposes this NewsFeedTabItemData object and all
claimed resources.
|
Favorite[] |
getFavorites()
Gets the Favorite objects displayed in the tab associated
with this NewsFeedTabItemData object or null
if no Favorite objects displayed in the tab.
|
NewsFeedView |
getNewsFeedView()
Gets the NewsFeedView component displayed in the tab
related to this NewsFeedViewTabItemData object.
|
int |
getType()
Gets the type of this NewsFeedTabItemData object. |
String |
getUrl()
Gets the url of the newsfeed displayed in the tab related to this NewsFeedTabItemData object.
|
Watch |
getWatch()
Gets the Watch displayed in the tab associated
with this NewsFeedTabItemData object or null
if no Watch displayed in the tab.
|
private void |
registerEventHandler()
Registers the event handler required in this NewsFeedTabItemData
|
void |
statusChanged(NewsFeedTableStatusChangedEvent event)
Triggered when the status of a NewsFeedTable changes.
|
| Methods inherited from class net.sourceforge.java.feednread.frontend.components.tabbar.AbstractTabItemData |
getComponent, getTabItem |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private NewsFeedView newsView
The NewsFeedView component embedded in the tab associated
with this data object.
private List favorites
The related Favorites
private Watch watch
The Watch related to this NewsFeedTabItemData
| Constructor Detail |
public NewsFeedTabItemData(MainApplicationWindow mainWindow,
CTabItem item,
NewsFeedView newsView)
Creates a new NewsFeedTabItemData instance.
mainWindow - the Feed'n Read main windowitem - the CTabItem control related to this
NewsFeedTabItemData objectnewsView - the NewsFeedView component displayed
in the tab related to this NewsFeedTabItemData object
public NewsFeedTabItemData(MainApplicationWindow mainWindow,
CTabItem item,
NewsFeedView newsView,
Favorite favorite)
Creates a new NewsFeedTabItemData instance.
mainWindow - the Feed'n Read main windowitem - the CTabItem control related to this
NewsFeedTabItemData objectnewsView - the NewsFeedView component displayed
in the tab related to this NewsFeedTabItemData objectfavorite - the Favorite to reference
public NewsFeedTabItemData(MainApplicationWindow mainWindow,
CTabItem item,
NewsFeedView newsView,
Favorite[] favorites)
Creates a new NewsFeedTabItemData instance.
mainWindow - the Feed'n Read main windowitem - the CTabItem control related to this
NewsFeedTabItemData objectnewsView - the NewsFeedView component displayed
in the tab related to this NewsFeedTabItemData objectfavorites - the Favorite objects to reference
public NewsFeedTabItemData(MainApplicationWindow mainWindow,
CTabItem item,
NewsFeedView newsView,
Watch watch)
Creates a new NewsFeedTabItemData instance.
mainWindow - the Feed'n Read main windowitem - the CTabItem control related to this
NewsFeedTabItemData objectnewsView - the NewsFeedView component displayed
in the tab related to this NewsFeedTabItemData objectwatch - the Watch object to reference| Method Detail |
public String getUrl()
Gets the url of the newsfeed displayed in the tab related to this
NewsFeedTabItemData object.
getUrl in interface ITabItemDataNewsFeedTabItemData objectpublic void dispose()
Disposes this NewsFeedTabItemData object and all
claimed resources.
dispose in interface ITabItemDatapublic int getType()
Gets the type of this NewsFeedTabItemData object. Always
returns
ITabItemData.TYPE_NEWSFEED_TAB
to indicate a newsfeed tab.
getType in interface ITabItemDataITabItemData.TYPE_NEWSFEED_TAB
to indicate a newsfeed tabpublic NewsFeedView getNewsFeedView()
Gets the NewsFeedView component displayed in the tab
related to this NewsFeedViewTabItemData object.
NewsFeedView component displayed in the tab
related to this NewsFeedViewTabItemData objectpublic Favorite[] getFavorites()
Gets the Favorite objects displayed in the tab associated
with this NewsFeedTabItemData object or null
if no Favorite objects displayed in the tab.
Favorite objects displayed in the tab
associated with this NewsFeedTabItemData object or
null if no Favorite objects displayed in
the tabpublic Watch getWatch()
Gets the Watch displayed in the tab associated
with this NewsFeedTabItemData object or null
if no Watch displayed in the tab.
Watch displayed in the tab
associated with this NewsFeedTabItemData object or
null if no Watch displayed in
the tabpublic void statusChanged(NewsFeedTableStatusChangedEvent event)
Triggered when the status of a NewsFeedTable changes.
statusChanged in interface INewsFeedTableStatusListenerevent - the triggered NewsFeedTableStatusChangedEventpublic void closing(NewsFeedTableStatusChangedEvent event)
Triggered when the NewsFeedTable is about to be closed.
closing in interface INewsFeedTableStatusListenerevent - the triggered NewsFeedTableStatusChangedEventprivate void registerEventHandler()
Registers the event handler required in this
NewsFeedTabItemData
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||