You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.ui.FolderModel

java.lang.Object
   |
   +----grendel.ui.FolderModel

class  FolderModel
     extends java.lang.Object
     implements grendel.widgets.TreeTableDataModel
{
          // Fields 5
     Hashtable fCollapsed;
     ResourceBundle fLabels;
     TreeTableModelListener fListeners;
     StoreObserver fStoreObserver;
     Vector fStores;

          // Constructors 1
     public FolderModel();

          // Methods 25
     public void addFolder(ViewedFolder);
     public void addStore(ViewedStore);
     public void addTreeTableModelListener(TreeTableModelListener);
     TreePath createTreePath(ViewedFolder);
     TreePath createTreePath(Folder);
     public Object getChild(Object);
     public Enumeration getChildren(Object);
     public Object getData(Object, Object);
     Folder getFolder(Object);
     public Icon getIcon(Object);
     public Object getNextSibling(Object);
     public Icon getOverlayIcon(Object);
     public Object getRoot();
     ViewedFolder getViewedFolder(Object);
     public boolean isCollapsed(TreePath);
     public boolean isLeaf(Object);
     public void removeFolder(ViewedFolder);
     public void removeStore(ViewedStore);
     public void removeTreeTableModelListener(TreeTableModelListener);
     public void setCollapsed(TreePath, boolean);
     public void setData(Object, Object, Object);
     public boolean showRoot();
     void updateFolder(ViewedFolder);
     void updateFolderCreated(ViewedFolder);
     void updateFolderDeleted(ViewedFolder);

          // Inner Classes 1
     class StoreObserver
}



Fields


fStores

   Vector fStores


fListeners

   TreeTableModelListener fListeners


fCollapsed

   Hashtable fCollapsed


fStoreObserver

   StoreObserver fStoreObserver


fLabels

   ResourceBundle fLabels



Constructors


FolderModel

   public FolderModel() 



Methods


addStore

   public void addStore(ViewedStore aStore) 


removeStore

   public void removeStore(ViewedStore aStore) 


addFolder

   public void addFolder(ViewedFolder aFolder) 


removeFolder

   public void removeFolder(ViewedFolder aFolder) 


showRoot

   public boolean showRoot() 
Implements:
showRoot in interface TreeTableDataModel


getRoot

   public Object getRoot() 
Implements:
getRoot in interface TreeTableDataModel


isLeaf

   public boolean isLeaf(Object aNode) 
Implements:
isLeaf in interface TreeTableDataModel


getChildren

   public Enumeration getChildren(Object aNode) 
Implements:
getChildren in interface TreeTableDataModel


getChild

   public Object getChild(Object aNode) 
Implements:
getChild in interface TreeTableDataModel


getNextSibling

   public Object getNextSibling(Object aNode) 
Implements:
getNextSibling in interface TreeTableDataModel


setCollapsed

   public void setCollapsed(TreePath aPath, 
                            boolean aCollapsed) 
Implements:
setCollapsed in interface TreeTableDataModel


isCollapsed

   public boolean isCollapsed(TreePath aPath) 
Implements:
isCollapsed in interface TreeTableDataModel


getData

   public Object getData(Object aNode, 
                         Object aID) 
Implements:
getData in interface TreeTableDataModel


getIcon

   public Icon getIcon(Object aNode) 
Implements:
getIcon in interface TreeTableDataModel


getOverlayIcon

   public Icon getOverlayIcon(Object aNode) 
Implements:
getOverlayIcon in interface TreeTableDataModel


setData

   public void setData(Object aNode, 
                       Object aID, 
                       Object aValue) 
Implements:
setData in interface TreeTableDataModel


getFolder

   Folder getFolder(Object aObject) 


getViewedFolder

   ViewedFolder getViewedFolder(Object aObject) 


addTreeTableModelListener

   public void addTreeTableModelListener(TreeTableModelListener aListener) 
Implements:
addTreeTableModelListener in interface TreeTableDataModel


removeTreeTableModelListener

   public void removeTreeTableModelListener(TreeTableModelListener aListener) 
Implements:
removeTreeTableModelListener in interface TreeTableDataModel


createTreePath

   TreePath createTreePath(ViewedFolder aNode) 


createTreePath

   TreePath createTreePath(Folder aFolder) 


updateFolder

   void updateFolder(ViewedFolder aFolder) 


updateFolderCreated

   void updateFolderCreated(ViewedFolder aFolder) 


updateFolderDeleted

   void updateFolderDeleted(ViewedFolder aFolder) 


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4