Overview | Package | Class | Tree | Deprecated | Index | Help
| J2EE1.4 SDK
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.mail.event
Interface MessageCountListener

All Superinterfaces:
  java.util.EventListener

All Known Implementing Classes:
  MessageCountAdapter

public interface MessageCountListener
extends java.util.EventListener

This is the Listener interface for MessageCount events.

Author:
  John Mani

Method Summary
`void` | `messagesAdded(MessageCountEvent e)` Invoked when messages are added into a folder.
`void` | `messagesRemoved(MessageCountEvent e)` Invoked when messages are removed (expunged) from a folder.

Method Detail

### messagesAdded

    public void messagesAdded(MessageCountEvent e)

  Invoked when messages are added into a folder.

### messagesRemoved

    public void messagesRemoved(MessageCountEvent e)

  Invoked when messages are removed (expunged) from a folder.

Overview | Package | Class | Tree | Deprecated | Index | Help
| J2EE1.4 SDK
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.