|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectview.minimalView.MinimalView
public class MinimalView
| Field Summary | |
|---|---|
private Controller |
control
|
| Constructor Summary | |
|---|---|
MinimalView(Controller c)
|
|
| Method Summary | |
|---|---|
org.eclipse.swt.widgets.Composite |
getComposite(org.eclipse.swt.widgets.Composite parent)
getComposite returns a Composite instance that is displayed by the controller. |
Folder |
getParentOfSelected()
gets the parent folder of the selected item |
Article |
getSelectedArticle()
gets the currently selected article in the view. |
java.util.List<Article> |
getSelectedArticles()
Gets the selected articles |
Feed |
getSelectedFeed()
gets the currently selected feed in the view. |
java.util.List<Feed> |
getSelectedFeeds()
Gets the selected feeds |
Folder |
getSelectedFolder()
gets the currently selected folder in the view. |
java.util.List<Folder> |
getSelectedFolders()
Gets the selected folders |
void |
setURL(java.lang.String url)
Sets the url of a view's browser, if it has one. |
void |
update()
The update method is called when the Controller wants the view to refresh. |
void |
updateArticle(Article a)
updates the view of a particular article |
void |
updateArticles(Feed f)
Updates the articles of the specified feed. |
void |
updateFeed(Feed f)
updates the view of a particular feed |
void |
updateFolder(Folder f)
|
void |
updateFolderContents(Folder f)
updates the specified folder's contents |
void |
updateOutbox()
updates the view of the outbox |
void |
updateTrash()
updates the view of the trash |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Controller control
| Constructor Detail |
|---|
public MinimalView(Controller c)
| Method Detail |
|---|
public org.eclipse.swt.widgets.Composite getComposite(org.eclipse.swt.widgets.Composite parent)
View
getComposite in interface Viewparent - Composite
public void update()
View
update in interface Viewpublic void updateArticles(Feed f)
View
updateArticles in interface View
public Feed getSelectedFeed()
throws NoItemSelectedException
View
getSelectedFeed in interface ViewNoItemSelectedException - If no feed is currently selected.
public Article getSelectedArticle()
throws NoItemSelectedException
View
getSelectedArticle in interface ViewNoItemSelectedException - If no article is currently selected.
public Folder getSelectedFolder()
throws NoItemSelectedException
View
getSelectedFolder in interface ViewNoItemSelectedException - If no folder is currently selected.public void updateFolderContents(Folder f)
View
updateFolderContents in interface Viewf - Folder whose contents will be updated
public Folder getParentOfSelected()
throws NoItemSelectedException
View
getParentOfSelected in interface ViewNoItemSelectedExceptionpublic void updateArticle(Article a)
View
updateArticle in interface Viewpublic void updateFeed(Feed f)
View
updateFeed in interface Viewpublic void updateFolder(Folder f)
public void setURL(java.lang.String url)
View
setURL in interface Viewpublic void updateOutbox()
View
updateOutbox in interface Viewpublic void updateTrash()
View
updateTrash in interface View
public java.util.List<Article> getSelectedArticles()
throws NoItemSelectedException
View
getSelectedArticles in interface ViewNoItemSelectedException - if no articles are selected
public java.util.List<Feed> getSelectedFeeds()
throws NoItemSelectedException
View
getSelectedFeeds in interface ViewNoItemSelectedException - if no Feeds are selected
public java.util.List<Folder> getSelectedFolders()
throws NoItemSelectedException
View
getSelectedFolders in interface ViewNoItemSelectedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||