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.composition.CompositionPanel

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

public class  CompositionPanel
     extends grendel.ui.GeneralPanel
{
          // Fields 44
     public static final String DeleteTag;
     public static final String addressBookCardTag;
     public static final String blankPageTag;
     public static final String closeWindowTag;
     private IUICmd[] defaultActions;
     public static final String fileTag;
     public static final String findAgainTag;
     public static final String findInMessageTag;
     public static final String goOfflineTag;
     public static final String hideAddressingAreaTag;
     public static final String hideMessageToolbarTag;
     private AddressBar mAddressBar;
     private AddressList mAddressList;
     private AttachmentsList mAttachmentsList;
     private Hashtable mCommands;
     private JTextComponent mEditor;
     private EventListenerList mListeners;
     private String mMailServerHostName;
     private String mMailUserName;
     private Hashtable mMenuItems;
     private Session mSession;
     private JTextField mSubject;
     public static final String messageTag;
     public static final String myAddressBookCardTag;
     public static final String navigatorWindowTag;
     public static final String pageFromTemplateTag;
     public static final String pageFromWizardTag;
     public static final String pasteAsQuotationTag;
     public static final String preferencesTag;
     public static final String quoteOriginalTextTag;
     private Message referredMsg;
     public static final String saveAsTag;
     public static final String saveDraftTag;
     public static final String searchDirectoryTag;
     public static final String selectAddressesTag;
     public static final String selectAllTag;
     public static final String sendLaterTag;
     public static final String sendNowTag;
     public static final String undoTag;
     public static final String viewAddressTag;
     public static final String viewAttachmentsTag;
     public static final String viewOptionsTag;
     public static final String webPageTag;
     public static final String wrapLongLinesTag;

          // Constructors 1
     public CompositionPanel(Session);

          // Methods 15
     public void addCompositionPanelListener(CompositionPanelListener);
     public void addToolbarButton(NSToolbar, IUICmd, String, String);
     private NSToolbar createToolbar();
     public void dispose();
     public IUICmd[] getActions();
     public AddressBar getAddressBar();
     protected Frame getParentFrame();
     Message getReferredMessage();
     String getSubject();
     protected void notifyMailSent();
     protected void notifySendFailed();
     protected void notifySendingMail();
     public void removeCompositionPanelListener(CompositionPanelListener);
     void setReferredMessage(Message);
     void setSubject(String);

          // Inner Classes 12
     class SaveDraft
     class SaveAs
     class SendNow
     class QuoteOriginalText
     class SelectAddresses
     class AttachFile
     class PasteAsQuotation
     class ViewAddress
     class ViewAttachments
     class ViewOptions
     class MessagePanel
     class PatchedMimeMessage
}



Fields


mCommands

   private Hashtable mCommands


mMenuItems

   private Hashtable mMenuItems


mAddressBar

   private AddressBar mAddressBar


mAddressList

   private AddressList mAddressList


mAttachmentsList

   private AttachmentsList mAttachmentsList


mEditor

   private JTextComponent mEditor


mSubject

   private JTextField mSubject


mSession

   private Session mSession


mMailServerHostName

   private String mMailServerHostName


mMailUserName

   private String mMailUserName


referredMsg

   private Message referredMsg


mListeners

   private EventListenerList mListeners


saveDraftTag

   public static final String saveDraftTag


saveAsTag

   public static final String saveAsTag


sendNowTag

   public static final String sendNowTag


sendLaterTag

   public static final String sendLaterTag


quoteOriginalTextTag

   public static final String quoteOriginalTextTag


selectAddressesTag

   public static final String selectAddressesTag


goOfflineTag

   public static final String goOfflineTag


closeWindowTag

   public static final String closeWindowTag


navigatorWindowTag

   public static final String navigatorWindowTag


messageTag

   public static final String messageTag


blankPageTag

   public static final String blankPageTag


pageFromTemplateTag

   public static final String pageFromTemplateTag


pageFromWizardTag

   public static final String pageFromWizardTag


fileTag

   public static final String fileTag


webPageTag

   public static final String webPageTag


addressBookCardTag

   public static final String addressBookCardTag


myAddressBookCardTag

   public static final String myAddressBookCardTag


undoTag

   public static final String undoTag


pasteAsQuotationTag

   public static final String pasteAsQuotationTag


DeleteTag

   public static final String DeleteTag


selectAllTag

   public static final String selectAllTag


findInMessageTag

   public static final String findInMessageTag


findAgainTag

   public static final String findAgainTag


searchDirectoryTag

   public static final String searchDirectoryTag


preferencesTag

   public static final String preferencesTag


hideMessageToolbarTag

   public static final String hideMessageToolbarTag


hideAddressingAreaTag

   public static final String hideAddressingAreaTag


viewAddressTag

   public static final String viewAddressTag


viewAttachmentsTag

   public static final String viewAttachmentsTag


viewOptionsTag

   public static final String viewOptionsTag


wrapLongLinesTag

   public static final String wrapLongLinesTag


defaultActions

   private IUICmd[] defaultActions



Constructors


CompositionPanel

   public CompositionPanel(Session aSession) 




Methods


dispose

   public void dispose() 


getActions

   public IUICmd[] getActions() 

Fetch the list of actions supported by this editor. It is implemented to return the list of actions supported by the embedded JTextComponent augmented with the actions defined locally.

Overrides:
getActions in class GeneralPanel


getAddressBar

   public AddressBar getAddressBar() 

Return the addressing bar



setSubject

   void setSubject(String subject) 


getSubject

   String getSubject() 


setReferredMessage

   void setReferredMessage(Message m) 


getReferredMessage

   Message getReferredMessage() 


addCompositionPanelListener

   public void addCompositionPanelListener(CompositionPanelListener l) 

Add a CompositionPanelListener



removeCompositionPanelListener

   public void removeCompositionPanelListener(CompositionPanelListener l) 

Remove a CompositionPanelListener



notifySendingMail

   protected void notifySendingMail() 


notifyMailSent

   protected void notifyMailSent() 


notifySendFailed

   protected void notifySendFailed() 


getParentFrame

   protected Frame getParentFrame() 

Find the hosting frame, for the file-chooser dialog.



createToolbar

   private NSToolbar createToolbar() 

Create a Toolbar

See Also: addToolbarButton



addToolbarButton

   public void addToolbarButton(NSToolbar aToolBar, 
                                IUICmd aActionListener, 
                                String aImageName, 
                                String aToolTip) 

create a toolbar button

Parameter Description
aToolBar The parent toolbar to add this button to.
aActionListener Who you want to be notified when the button is pressed.
aImageName The image name for the button. like "save.gif"
aToolTip The buttons tool tip. like "Save the current file".

See Also: createToolbar



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