| org.columba.mail.gui.composer.AttachmentView
AttachmentView | public class AttachmentView extends IconPanel (Code) | | Attachment view. Used in the composer to show a list of attachments. Is part
of a controller-view framework together with AttachmentController.
author: frdietz author: redsolo |
Inner Class :class AttachmentImageIconLoader | |
AttachmentView | public AttachmentView(AttachmentController controller)(Code) | | Default constructor. Sets up the view and stores a reference to the
controller for later use.
Parameters: controller - Reference to the controller of this view |
add | public void add(MimePart mp)(Code) | | Adds an attachment to be displayed in the view
Parameters: mp - Attachment to add |
addPopupListener | public void addPopupListener(MouseAdapter a)(Code) | | Adds a popup listener
Parameters: a - Listener to add |
clear | public void clear()(Code) | | Clears the view, i.e. removes all attachments.
|
count | public int count()(Code) | | Gets number of attachments currently displayed in the view.
the number of attachments currently displayed in the view. |
fixSelection | public void fixSelection(int x, int y)(Code) | | Selects the list item that is at the position in the component/list.
Parameters: x - the x pos. Parameters: y - the y pos. |
get | public MimePart get(int index)(Code) | | Gets an attachment from the view by index
Parameters: index - Index of attachment (zero based) The specified attachment |
installListener | public void installListener(AttachmentController c)(Code) | | Installs the attachment controller as listener
Parameters: c - Controller of this view |
removeSelected | public void removeSelected()(Code) | | |
|
|