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-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal