KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SnowMailClient > model > events > MailFolderListener


1 package SnowMailClient.model.events;
2
3 /** used to listen to a mail folder
4 */

5 public interface MailFolderListener
6 {
7
8    /** something changed: mail added or removed
9    */

10    public void folderSizeChanged();
11
12    /** the content was stored
13    */

14    public void folderStored();
15
16    /** tThe folder has been closed.
17       This can occur when we need memory...
18       The view must react and CLOSE the displayed folder, if this occurs !
19    */

20    public void folderClosed();
21
22    /** a mail was edited
23    */

24    public void folderContentEdited(MailMessageChangeListener.MailMessageChangeType change);
25
26
27
28
29 } // MailFolderListener
Popular Tags