classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: Container.getListeners()


From: David Gilbert
Subject: [cp-patches] FYI: Container.getListeners()
Date: Wed, 23 Nov 2005 15:24:46 +0000
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051026)

I updated the API docs for this method:

2005-11-23  David Gilbert  <address@hidden>

        * java/awt/Container.java
        (getListeners): Updated API docs.

Regards,

Dave
Index: java/awt/Container.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/awt/Container.java,v
retrieving revision 1.70
diff -u -r1.70 Container.java
--- java/awt/Container.java     18 Nov 2005 21:31:06 -0000      1.70
+++ java/awt/Container.java     23 Nov 2005 15:10:24 -0000
@@ -896,13 +896,21 @@
   }
 
   /**
-   * Returns an array of all the objects currently registered as FooListeners
-   * upon this Container. FooListeners are registered using the addFooListener
-   * method.
-   *
-   * @exception ClassCastException If listenerType doesn't specify a class or
-   * interface that implements @see java.util.EventListener.
+   * Returns all registered address@hidden EventListener}s of the given 
+   * <code>listenerType</code>.
    *
+   * @param listenerType the class of listeners to filter (<code>null</code> 
+   *                     not permitted).
+   *                     
+   * @return An array of registered listeners.
+   * 
+   * @throws ClassCastException if <code>listenerType</code> does not implement
+   *                            the address@hidden EventListener} interface.
+   * @throws NullPointerException if <code>listenerType</code> is 
+   *                              <code>null</code>.
+   *                            
+   * @see #getContainerListeners()
+   * 
    * @since 1.3
    */
   public EventListener[] getListeners(Class listenerType)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]