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

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.JPanel
                                   |
                                   +----grendel.ui.GeneralPanel
                                           |
                                           +----grendel.ui.MessagePanel

public class  MessagePanel
     extends grendel.ui.GeneralPanel
{
          // Fields 10
     IUICmd[] fActions;
     MessageHeader fHeader;
     EventListenerList fListeners;
     Message fMessage;
     Thread fMessageLoadThread;
     MessagePanel fPanel;
     JTextArea fTextArea;
     URLComponent fViewer;
     boolean makeRealHTML;
     boolean useMagellan;

          // Constructors 1
     public MessagePanel();

          // Methods 10
     public void addMessagePanelListener(MessagePanelListener);
     public void dispose();
     public Message getMessage();
     public NSToolbar getToolBar();
     public boolean isOpaque();
     protected void notifyLoaded();
     protected void notifyLoading();
     protected void notifyStatus(String);
     public void removeMessagePanelListener(MessagePanelListener);
     public synchronized void setMessage(Message);

          // Inner Classes 1
     class LoadMessageThread
}



Fields


fTextArea

   JTextArea fTextArea


fViewer

   URLComponent fViewer


fMessageLoadThread

   Thread fMessageLoadThread


fMessage

   Message fMessage


fHeader

   MessageHeader fHeader


fPanel

   MessagePanel fPanel


useMagellan

   boolean useMagellan


makeRealHTML

   boolean makeRealHTML


fListeners

   EventListenerList fListeners


fActions

   IUICmd[] fActions



Constructors


MessagePanel

   public MessagePanel() 

Constructs a new message panel.




Methods


dispose

   public void dispose() 

Disposes of message panel resources. Currently kills off message loading thread to avoid having magellan try and access an invalid peer.



getToolBar

   public NSToolbar getToolBar() 

Returns the toolbar associated with this panel.

Overrides:
getToolBar in class GeneralPanel


setMessage

   public synchronized void setMessage(Message aMessage) 

Sets message displayed to the given message. If the argument is null, clears message area



getMessage

   public Message getMessage() 

Returns the current message



addMessagePanelListener

   public void addMessagePanelListener(MessagePanelListener l) 


removeMessagePanelListener

   public void removeMessagePanelListener(MessagePanelListener l) 


notifyLoading

   protected void notifyLoading() 


notifyLoaded

   protected void notifyLoaded() 


notifyStatus

   protected void notifyStatus(String aStatus) 


isOpaque

   public boolean isOpaque() 
Overrides:
isOpaque in class JComponent


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