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.ViewedMessage

This is a message in a MessageSetView. It represents a message, and also knows where it is in relationship with other messages in the same view.


public interface  ViewedMessage
{
          // Methods 7
     public abstract void dump();
     public abstract ViewedMessage getChild();
     public abstract Message getMessage();
     public abstract ViewedMessage getNext();
     public abstract ViewedMessage getParent();
     public abstract MessageSetView getView();
     public abstract boolean isDummy();
}



Methods


getView

   public abstract MessageSetView getView() 

Gets the view that this message is a part of.



getMessage

   public abstract Message getMessage() 

Gets the message itself. You need to go through this to find out stuff about the message (like its subject, author, etc.).



getParent

   public abstract ViewedMessage getParent() 

Returns the parent of this message. (This is always null unless threading is turned on in the view.)



getChild

   public abstract ViewedMessage getChild() 

Returns the first child of this message. (This is always null unless threading is turned on in the view.)



getNext

   public abstract ViewedMessage getNext() 

Returns the next message. This is the next message that has the same parent as this message.



isDummy

   public abstract boolean isDummy() 

This should return true of dummy messages, false otherwise. It is legal to pass dummy messages in with the list returned by elements(); the isDummy() method is the mechanism by which they are noted and ignored.



dump

   public abstract void dump() 

Debugging hack. Dumps this message (and messages in its tree) out to System.out.



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