net.rim.device.api.collection.util
Interface CollectionListenerAction


public interface CollectionListenerAction

Defines means by which a collection can request actions of a registered listener.


Method Summary
 void invoke(Collection collection, CollectionListener listener)
          Requests listener to perform some action.
 



Method Detail

invoke

void invoke(Collection collection,
            CollectionListener listener)
Requests listener to perform some action.

Implement this method in a collection listener object to permit an observed collection to request some action of the listener. The invoker can also pass in a listener that the prodded listener should notify (to report on the results of the action, for example).

Parameters:
collection - Collection requesting the action.
listener - Listener that should be notified.





Copyright 1999-2010 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. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.