The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Class grendel.composition.AttachmentsList
All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.composition.AttachmentsList

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.JScrollPane
                                   |
                                   +----grendel.composition.AttachmentsList

public class  AttachmentsList
     extends com.sun.java.swing.JScrollPane
     implements java.io.Serializable
{
          // Fields 1
     private AttachmentsPanel mAP;

          // Constructors 1
     public AttachmentsList();

          // Methods 6
     public void addAttachment(String);
     public static Frame getTopLevelFrame(Component);
     public void removeAllAttachments();
     public void removeAttachment(int);
     public void setEnabled(boolean);
     public void showDialog();

          // Inner Classes 2
     class AttachmentsPanel
     class AttachmentLabel
}



Fields


mAP

   private AttachmentsPanel mAP



Constructors


AttachmentsList

   public AttachmentsList() 



Methods


setEnabled

   public void setEnabled(boolean aEnabled) 

Sets this gadgets enabled state.

Parameter Description
aEnabled Boolean value for enabled.

Overrides:
setEnabled in class Component


showDialog

   public void showDialog() 

showDialog requests that the AddressList display its file dialog.

See Also: showDialog



removeAllAttachments

   public void removeAllAttachments() 

Delets all attachments from the list.

See Also: addAttachment, removeAttachment



removeAttachment

   public void removeAttachment(int aIndex) 

Remove an entry at index from the list.

Parameter Description
aIndex The index of the attachment to remove.

See Also: removeAllAttachments



addAttachment

   public void addAttachment(String aFilePath) 

Adds an attachment to the list.

Parameter Description
aFilePath A file path.

See Also: removeAllAttachments



getTopLevelFrame

   public static Frame getTopLevelFrame(Component aComp) 

Tranverse up a component's tree to find the top most frame.

Parameter Description
aComp the component for which you want its parent frame for.

Returns:
The parent frame.


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998.