All Packages This Package Class Hierarchy Class Search Index
Class grendel.view.FolderViewBase
java.lang.Object | +----grendel.view.FolderViewBase
class FolderViewBase extends java.lang.Object implements grendel.view.FolderView, javax.mail.event.MessageChangedListener, javax.mail.event.MessageCountListener { // Fields 5 Folder fFolder; ViewedMessageBase fRoot; Vector observers; int[] sortorder; boolean threaded; // Constructors 1 public FolderViewBase(); // Methods 20 public void addObserver(MessageSetViewObserver); public void dumpMessages(); protected ViewedMessage findViewedMessage(Message); protected ViewedMessage findViewedMessage(Message, ViewedMessage); protected void flattenList(ViewedMessageBase); protected int generateSortKeys(ViewedMessageBase, int); public Folder getFolder(); public ViewedMessage getMessageRoot(); public int getNumMessages(); public int[] getSortOrder(); public boolean isThreaded(); public void loadFrom(Folder); public void messageChanged(MessageChangedEvent); public void messagesAdded(MessageCountEvent); public void messagesRemoved(MessageCountEvent); public void prependSortOrder(int); public void reThread(); public void removeObserver(MessageSetViewObserver); public void setIsThreaded(boolean); public void setSortOrder(int[]); // Inner Classes 10 final class NullComparer final class NumberComparer final class DateComparer final class SubjectComparer final class AuthorComparer final class ReadComparer final class FlaggedComparer final class SizeComparer final class DeletedComparer final class ViewedMessageEnumeration }
Fields
fRoot
ViewedMessageBase fRoot
fFolder
Folder fFolder
observers
Vector observers
threaded
boolean threaded
sortorder
int[] sortorder
Constructors
FolderViewBase
public FolderViewBase()
Default constructor
Methods
loadFrom
public void loadFrom(Folder f)
generateSortKeys
protected int generateSortKeys(ViewedMessageBase msg, int key)
flattenList
protected void flattenList(ViewedMessageBase msg)
reThread
public void reThread()
setSortOrder
public void setSortOrder(int[] value)
prependSortOrder
public void prependSortOrder(int k)
getSortOrder
public int[] getSortOrder()
getNumMessages
public int getNumMessages()
getMessageRoot
public ViewedMessage getMessageRoot()
setIsThreaded
public void setIsThreaded(boolean b)
isThreaded
public boolean isThreaded()
getFolder
public Folder getFolder()
- Implements:
- getFolder in interface FolderView
dumpMessages
public void dumpMessages()
messageChanged
public void messageChanged(MessageChangedEvent event)
- Implements:
- messageChanged in interface MessageChangedListener
messagesAdded
public void messagesAdded(MessageCountEvent event)
- Implements:
- messagesAdded in interface MessageCountListener
messagesRemoved
public void messagesRemoved(MessageCountEvent event)
- Implements:
- messagesRemoved in interface MessageCountListener
findViewedMessage
protected ViewedMessage findViewedMessage(Message m, ViewedMessage v)
findViewedMessage
protected ViewedMessage findViewedMessage(Message m)
addObserver
public void addObserver(MessageSetViewObserver obs)
removeObserver
public void removeObserver(MessageSetViewObserver obs)
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4