rss.gui
Class ViewPanel

java.lang.Object
  extended by rss.gui.ViewPanel

public class ViewPanel
extends java.lang.Object

Representation of the contents within a tab. Combines a reference to the parent of the composite, the View, the Feed, and corresponding FeedItems.

Author:
Jong-Moon Kim, Karl Rieb

Method Summary
 Feed getFeed()
          Returns Feed reference to what is displayed
 java.lang.String getTabTitle()
          Returnes the formatted title to be displayed on the tab
 Composite getView()
          Returns the composite that will be displayed with parent.
 java.lang.Class getViewType()
          Returns the class name of the view type
 void setFeedItems(java.util.Collection<FeedItem> items)
          Returns the feed items to be displayed in the view
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getViewType

public java.lang.Class getViewType()
Returns the class name of the view type

Returns:
class name of view type

getView

public Composite getView()
Returns the composite that will be displayed with parent.

Returns:
composite containing View

getTabTitle

public java.lang.String getTabTitle()
Returnes the formatted title to be displayed on the tab

Returns:
formatted title

getFeed

public Feed getFeed()
Returns Feed reference to what is displayed

Returns:
Feed reference

setFeedItems

public void setFeedItems(java.util.Collection<FeedItem> items)
Returns the feed items to be displayed in the view

Parameters:
items - reference to FeedItems