|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectview.randomView.RandomView
public class RandomView
Random View is a simple view that lets the user view a random article that is in one of the feeds that they've subscribed to.
| Field Summary | |
|---|---|
private org.eclipse.swt.browser.Browser |
browser
|
private Controller |
control
|
| Constructor Summary | |
|---|---|
RandomView(Controller c)
Constructs a new randomView. |
|
| Method Summary | |
|---|---|
org.eclipse.swt.widgets.Composite |
getComposite(org.eclipse.swt.widgets.Composite parent)
Generates and returns the composite for this view. |
Folder |
getParentOfSelected()
Not implemented in this view |
Article |
getSelectedArticle()
Not implemented in this view |
java.util.List<Article> |
getSelectedArticles()
Not implemented in this view |
Feed |
getSelectedFeed()
Not implemented in this view |
java.util.List<Feed> |
getSelectedFeeds()
Not implemented in this view |
Folder |
getSelectedFolder()
Not implemented in this view |
java.util.List<Folder> |
getSelectedFolders()
Not implemented in this view |
void |
setURL(java.lang.String url)
Sets the browser's url to the specified url |
void |
update()
Not implemented in this view |
void |
updateArticle(Article a)
Not implemented in this view |
void |
updateArticles(Feed f)
Not implemented in this view |
void |
updateFeed(Feed f)
Not implemented in this view |
void |
updateFolder(Folder f)
Not implemented in this view |
void |
updateFolderContents(Folder f)
Not implemented in this view |
void |
updateOutbox()
Not implemented in this view |
void |
updateTrash()
Not implemented in this view |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Controller control
private org.eclipse.swt.browser.Browser browser
| Constructor Detail |
|---|
public RandomView(Controller c)
c - | Method Detail |
|---|
public org.eclipse.swt.widgets.Composite getComposite(org.eclipse.swt.widgets.Composite parent)
getComposite in interface Viewparent - Composite
public void setURL(java.lang.String url)
setURL in interface Viewurl - String url
public Feed getSelectedFeed()
throws NoItemSelectedException
getSelectedFeed in interface ViewNoItemSelectedException - If no feed is currently selected.
public Article getSelectedArticle()
throws NoItemSelectedException
getSelectedArticle in interface ViewNoItemSelectedException - If no article is currently selected.
public Folder getSelectedFolder()
throws NoItemSelectedException
getSelectedFolder in interface ViewNoItemSelectedException - If no folder is currently selected.public void update()
update in interface Viewpublic void updateArticles(Feed f)
updateArticles in interface Viewpublic void updateFolderContents(Folder f)
updateFolderContents in interface Viewf - Folder whose contents will be updated
public Folder getParentOfSelected()
throws NoItemSelectedException
getParentOfSelected in interface ViewNoItemSelectedExceptionpublic void updateArticle(Article a)
updateArticle in interface Viewpublic void updateFeed(Feed f)
updateFeed in interface Viewpublic void updateFolder(Folder f)
public void updateOutbox()
updateOutbox in interface Viewpublic void updateTrash()
updateTrash in interface View
public java.util.List<Article> getSelectedArticles()
throws NoItemSelectedException
getSelectedArticles in interface ViewNoItemSelectedException - if no articles are selected
public java.util.List<Feed> getSelectedFeeds()
throws NoItemSelectedException
getSelectedFeeds in interface ViewNoItemSelectedException - if no Feeds are selected
public java.util.List<Folder> getSelectedFolders()
throws NoItemSelectedException
getSelectedFolders in interface ViewNoItemSelectedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||