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


public 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).

collection - Collection requesting the action.
listener - Listener that should be notified.
JDE 4.0.2

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.