|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.rssowl.controller.panel.NewsfeedPanel
The newsfeed panel is showing all news-title from the given Channel inside a Table. A selection on a newstitle will open it inside the Newstext panel.
Field Summary | |
private int[] |
columnWidths
|
(package private) EventManager |
eventManager
|
private org.eclipse.swt.custom.CTabItem |
feedTabItem
|
private org.eclipse.swt.widgets.Composite |
newsHeaderHolderAll
|
private boolean |
performSearch
|
private Channel |
rssChannel
|
(package private) GUI |
rssOwlGui
|
private String |
searchPattern
|
private String |
selectedNews
|
private String |
title
|
private String |
url
|
Constructor Summary | |
NewsfeedPanel(GUI rssOwlGui,
org.eclipse.swt.custom.CTabItem feedTabItem,
Channel rssChannel,
String url,
String title,
String searchPattern,
String selectedNews,
int[] columnWidths)
Instantiate a new NewsfeedPanel |
Method Summary | |
private void |
createEmptyNewsPopup(org.eclipse.swt.widgets.Control control)
Create the popup that is shown when no news where found or are available to display |
private void |
createInfoArea(org.eclipse.swt.widgets.Composite parent,
String text,
String url)
Create a small info area on top of the newsheader table. |
org.eclipse.swt.widgets.Composite |
getNewsfeedPanel()
Get the newsfeed panel |
private void |
initComponents()
Init the components of the newsfeed panel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int[] columnWidths
private org.eclipse.swt.custom.CTabItem feedTabItem
private org.eclipse.swt.widgets.Composite newsHeaderHolderAll
private boolean performSearch
private Channel rssChannel
private String searchPattern
private String selectedNews
private String title
private String url
EventManager eventManager
GUI rssOwlGui
Constructor Detail |
public NewsfeedPanel(GUI rssOwlGui, org.eclipse.swt.custom.CTabItem feedTabItem, Channel rssChannel, String url, String title, String searchPattern, String selectedNews, int[] columnWidths)
rssOwlGui
- The maincontrollerfeedTabItem
- The tabitem this newsfeedpanel will be placed inrssChannel
- The channel to display news fromurl
- The URL of the newsfeedtitle
- The Title of the newsfeedsearchPattern
- The search pattern that was used, if setselectedNews
- The previous selected news, if set, to restore
selectioncolumnWidths
- The previoud column widths, if set, to restore themMethod Detail |
public org.eclipse.swt.widgets.Composite getNewsfeedPanel()
private void createEmptyNewsPopup(org.eclipse.swt.widgets.Control control)
control
- The control for the popupprivate void createInfoArea(org.eclipse.swt.widgets.Composite parent, String text, String url)
parent
- The parent Composite of the info areatext
- The info text to GUI.displayurl
- In case the URL is given, a toolitem will allow to close the
search and return to all items of the newsfedprivate void initComponents()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |