SHOW Signed

net.rim.blackberry.api.mail.event
Interface FolderListener

All Superinterfaces:
EventListener

public interface FolderListener
extends EventListener

Listener interface for folder events where messages are added or removed from a folder.

Implement this interface to receive notifications of changes to messages in the folder heirarchy (that is, FolderEvent.MESSAGE_ADDED and FolderEvent.MESSAGE_REMOVED).

Invoke Folder.addFolderListener(net.rim.blackberry.api.mail.event.FolderListener) to add one of these folder listeners to a Folder.

Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

Since:
JDE 3.6.0

Method Summary
 Category: Signed  void messagesAdded(FolderEvent e)
          Invoked when messages are added to a folder.
 Category: Signed  void messagesRemoved(FolderEvent e)
          Invoked when messages are removed from a folder.
 

Method Detail

messagesAdded

public void messagesAdded(FolderEvent e)
Invoked when messages are added to a folder.
Parameters:
e - Event that was fired..
Since:
JDE 4.0.2
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

messagesRemoved

public void messagesRemoved(FolderEvent e)
Invoked when messages are removed from a folder.
Parameters:
e - Event that was fired.
Since:
JDE 4.0.2
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.


Copyright 1999-2004 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.