net.sourceforge.java.feednread.frontend.components.tabbar
Class FilterTabItemData

java.lang.Object
  extended bynet.sourceforge.java.feednread.frontend.components.tabbar.AbstractTabItemData
      extended bynet.sourceforge.java.feednread.frontend.components.tabbar.NewsFeedTabItemData
          extended bynet.sourceforge.java.feednread.frontend.components.tabbar.FilterTabItemData
All Implemented Interfaces:
INewsFeedTableStatusListener, ITabItemData

public class FilterTabItemData
extends NewsFeedTabItemData

Tab data class for CTabItems displaying a filtered NewsFeed in the NewsFeedTabBar ui component.

Author:
Sebastian Machhausen

Field Summary
 
Fields inherited from class net.sourceforge.java.feednread.frontend.components.tabbar.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
FilterTabItemData(MainApplicationWindow mainWindow, CTabItem item, NewsFeedView newsView, Favorite[] favorites)
           Creates a new FilterTabItemData instance.
 
Method Summary
 int getType()
           Gets the type of this FilterTabItemData object.
 
Methods inherited from class net.sourceforge.java.feednread.frontend.components.tabbar.NewsFeedTabItemData
closing, dispose, getFavorites, getNewsFeedView, getUrl, getWatch, statusChanged
 
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
 

Constructor Detail

FilterTabItemData

public FilterTabItemData(MainApplicationWindow mainWindow,
                         CTabItem item,
                         NewsFeedView newsView,
                         Favorite[] favorites)

Creates a new FilterTabItemData instance.

Parameters:
mainWindow - the Feed'n Read main window
item - the CTabItem control related to this FilterTabItemData object
newsView - the NewsFeedView component displayed in the tab related to this FilterTabItemData object
favorites - the Favorite objects to reference
Method Detail

getType

public int getType()

Gets the type of this FilterTabItemData object. Always returns ITabItemData.TYPE_FILTER_TAB to indicate a filter tab.

Specified by:
getType in interface ITabItemData
Overrides:
getType in class NewsFeedTabItemData
Returns:
ITabItemData.TYPE_FILTER_TAB to indicate a filter tab