|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectComposite
fable.gui.AbstractFeedView
public abstract class AbstractFeedView
This class is a component of the GUI. It displays a a list of articles in a given feed, and the details of a selected article. All interaction between this class and other classes are handled by the concrete class which extends this one (and the MessageHandler class).
Constructor Summary | |
---|---|
AbstractFeedView(Composite parent,
int style,
FableManager fbm)
Instantiates the class with the given parent and styles |
Method Summary | |
---|---|
void |
clearArticleView()
Clears the article view, making it blank |
void |
clearFeedView()
Clears the feed view, making it blank |
protected Article |
currentArticle()
Gets the currently selected article |
java.lang.String |
getFeedName()
Returns the name of the current feed |
protected void |
showArticle(Article article)
Displays the article in the Article View |
void |
showFeed(FableContainer feed)
Displays the list of articles contained in the feed in the feed view |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractFeedView(Composite parent, int style, FableManager fbm)
parent
- the parent of this componentstyle
- the styleMethod Detail |
---|
public void showFeed(FableContainer feed)
feed
- the feed whose articles is to be displayedprotected Article currentArticle()
protected void showArticle(Article article)
article
- the article to be displayed in the article viewpublic void clearFeedView()
public void clearArticleView()
public java.lang.String getFeedName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |