rss.events.gui
Class AddFeedEvent

java.lang.Object
  extended by rss.events.gui.GUIEvent
      extended by rss.events.gui.AddFeedEvent

public class AddFeedEvent
extends GUIEvent

Fired when a feed has been added by the user.

Author:
Karl E. Rieb

Constructor Summary
AddFeedEvent(java.lang.String uri, TreeFolder folder)
          Creates a new AddFeedEvent with the given feed URL and TreeFolder that will contain the new feed.
 
Method Summary
 TreeFolder getFolder()
          Returns the folder where to place the new feed.
 java.lang.String getURI()
          Returns the URL of the feed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddFeedEvent

public AddFeedEvent(java.lang.String uri,
                    TreeFolder folder)
Creates a new AddFeedEvent with the given feed URL and TreeFolder that will contain the new feed.

Parameters:
uri - URL of the feed (input by the user)
folder - TreeFolder to store the new feed
Method Detail

getURI

public java.lang.String getURI()
Returns the URL of the feed.

Returns:
URL of the feed

getFolder

public TreeFolder getFolder()
Returns the folder where to place the new feed.

Returns:
TreeFolder that will store the new feed