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

Interface grendel.view.ViewedStore


public interface  ViewedStore
     extends grendel.view.ViewedFolder
{
          // Fields 3
     public static final int kActive;
     public static final int kAll;
     public static final int kSubscribed;

          // Methods 11
     public abstract void addViewedStoreListener(ViewedStoreListener);
     public abstract ViewedFolder getDefaultFolder() throws MessagingException;
     public abstract String getHost();
     public abstract int getPort();
     public abstract String getProtocol();
     public abstract Store getStore();
     public abstract String getUsername();
     public abstract int getVisible();
     public abstract boolean isConnected();
     public abstract void removeViewedStoreListener(ViewedStoreListener);
     public abstract void setVisible(int);
}



Fields


kAll

   public static final int kAll

Value for setVisible() for showing all folders


kSubscribed

   public static final int kSubscribed

Value for setVisible() for showing subscribed folders


kActive

   public static final int kActive

Value for setVisible() for showing active folders



Methods


getStore

   public abstract Store getStore() 

Returns the associated store.



getDefaultFolder

   public abstract ViewedFolder getDefaultFolder()  throws MessagingException

Returns the store's default folder wrapped in a ViewedFolder object.



getProtocol

   public abstract String getProtocol() 

Returns the protocol used by this store.



getHost

   public abstract String getHost() 

Returns the host for this store. Returns null for a local store.



getUsername

   public abstract String getUsername() 

Returns the user name used to connect. May return null if no user name was used.



getPort

   public abstract int getPort() 

Returns the port used to connect. Returns -1 for the protocol default.



isConnected

   public abstract boolean isConnected() 

Returns the connected state of this store



setVisible

   public abstract void setVisible(int aVisible) 

Sets which children to show for this store



getVisible

   public abstract int getVisible() 

Returns which children are showing for this store



addViewedStoreListener

   public abstract void addViewedStoreListener(ViewedStoreListener l) 

Adds a ViewedStoreListener



removeViewedStoreListener

   public abstract void removeViewedStoreListener(ViewedStoreListener l) 

Removes a ViewedStoreListener



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