The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Search
Feedback


Interface grendel.view.ViewedMessage

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



Copyright © 1998 The Mozilla Organization.