net.sourceforge.rssowl.controller
Class ChannelInfo

java.lang.Object
  extended by net.sourceforge.rssowl.controller.ChannelInfo

public class ChannelInfo
extends java.lang.Object

If a channel has some informations like title, language, url... the ChannelInfo will display them in a Group that is clickable to expand it and show all informations that are available.

Version:
1.2.4
Author:
Benjamin Pasero

Field Summary
private  boolean additionalFeedInfos
           
private  MenuItem copyItem
           
(package private)  Display display
           
(package private)  EventManager eventManager
           
private  Menu linkMenu
           
(package private)  ViewForm newsChannelHeader
           
private  Composite newsChannelInfo
           
private  Label newsFeedTitle
           
private  Composite newsFeedTitleHolder
           
private  Composite newsHeaderHolderAll
           
(package private)  Channel rssChannel
           
 
Constructor Summary
ChannelInfo(Display display, Composite newsHeaderHolderAll, Channel rssChannel, EventManager eventManager)
          Instantiate a new ChannlInfo widget
 
Method Summary
private  void initComponents()
          Init all components
private  void setChannelInfos()
          Write all channel infos into the NewsChannel Info composite
(package private)  void setShowChannelInfos(boolean show)
          Set wether the control displaying the channel infos should be shown or hidden
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

additionalFeedInfos

private boolean additionalFeedInfos

copyItem

private MenuItem copyItem

linkMenu

private Menu linkMenu

newsChannelInfo

private Composite newsChannelInfo

newsFeedTitle

private Label newsFeedTitle

newsFeedTitleHolder

private Composite newsFeedTitleHolder

newsHeaderHolderAll

private Composite newsHeaderHolderAll

display

Display display

eventManager

EventManager eventManager

newsChannelHeader

ViewForm newsChannelHeader

rssChannel

Channel rssChannel
Constructor Detail

ChannelInfo

public ChannelInfo(Display display,
                   Composite newsHeaderHolderAll,
                   Channel rssChannel,
                   EventManager eventManager)
Instantiate a new ChannlInfo widget

Parameters:
display - The display
newsHeaderHolderAll - The newsHeader holder
rssChannel - A Channel
eventManager - The event manager
Method Detail

initComponents

private void initComponents()
Init all components


setChannelInfos

private void setChannelInfos()
Write all channel infos into the NewsChannel Info composite


setShowChannelInfos

void setShowChannelInfos(boolean show)
Set wether the control displaying the channel infos should be shown or hidden

Parameters:
show - TRUE if the channel info control should become visible


RSSOwl - RSS / RDF / Atom Newsreader

SourceForge.net Logo