/[classpath]/classpath/javax/swing/JComponent.java
ViewVC logotype

Diff of /classpath/javax/swing/JComponent.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.89 by trebligd, Fri Nov 18 00:27:08 2005 UTC revision 1.90 by trebligd, Wed Nov 23 15:39:11 2005 UTC
# Line 801  public abstract class JComponent extends Line 801  public abstract class JComponent extends
801    }    }
802    
803    /**    /**
804     * Return all registered listeners of a particular type.     * Returns all registered {@link EventListener}s of the given
805     *     * <code>listenerType</code>.
    * @param listenerType The type of listener to return  
    *  
    * @return All listeners in the {@link #listenerList} which  
    * are of the specified type  
806     *     *
807       * @param listenerType the class of listeners to filter (<code>null</code>
808       *                     not permitted).
809       *                    
810       * @return An array of registered listeners.
811       *
812       * @throws ClassCastException if <code>listenerType</code> does not implement
813       *                            the {@link EventListener} interface.
814       * @throws NullPointerException if <code>listenerType</code> is
815       *                              <code>null</code>.
816       *                            
817       * @see #getAncestorListeners()
818     * @see #listenerList     * @see #listenerList
819       *
820       * @since 1.3
821     */     */
822    public EventListener[] getListeners(Class listenerType)    public EventListener[] getListeners(Class listenerType)
823    {    {

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.90

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26