rss.adt
Class RootFolder

java.lang.Object
  extended by rss.adt.TreeFolder
      extended by rss.adt.RootFolder
All Implemented Interfaces:
java.io.Serializable

public final class RootFolder
extends TreeFolder

Represents the base folder in which all other TreeFolders and feeds are placed in. The only expansion feature is the ability to add a Tree object as the parent of a RootFolder.

Author:
Jong-Moon Kim
See Also:
Serialized Form

Constructor Summary
RootFolder(int id, java.util.List<TreeFolder> containedFolders, java.util.List<Feed> containedFeeds, boolean expanded, java.lang.String name, java.lang.String icon)
           
 
Method Summary
 void setTreeItem(Tree parent)
          Sets the parent of the corresponing TreeItem as the given Tree.
 
Methods inherited from class rss.adt.TreeFolder
equals, getContainedFeeds, getContainedFolders, getIcon, getID, getName, getTreeItem, hashCode, isExpanded, setContainedFeeds, setContainedFolders, setExpanded, setIcon, setName, setTreeItem
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootFolder

public RootFolder(int id,
                  java.util.List<TreeFolder> containedFolders,
                  java.util.List<Feed> containedFeeds,
                  boolean expanded,
                  java.lang.String name,
                  java.lang.String icon)
Method Detail

setTreeItem

public void setTreeItem(Tree parent)
Sets the parent of the corresponing TreeItem as the given Tree.

Parameters:
parent - Tree object reference.