src/share/classes/java/awt/dnd/DragSource.java

Print this page

        

@@ -493,10 +493,11 @@
      * <code>DragGestureRecognizer</code>, and
      * sets the specified <code>Component</code>
      * and <code>DragGestureListener</code> on
      * the newly created object.
      * <P>
+     * @param <T> the type of {@code DragGestureRecognizer} to create
      * @param recognizerAbstractClass the requested abstract type
      * @param actions                 the permitted source drag actions
      * @param c                       the <code>Component</code> target
      * @param dgl        the <code>DragGestureListener</code> to notify
      * <P>

@@ -667,10 +668,11 @@
      * Gets all the objects currently registered as
      * <code><em>Foo</em>Listener</code>s upon this <code>DragSource</code>.
      * <code><em>Foo</em>Listener</code>s are registered using the
      * <code>add<em>Foo</em>Listener</code> method.
      *
+     * @param <T> the type of listener objects
      * @param listenerType the type of listeners requested; this parameter
      *          should specify an interface that descends from
      *          <code>java.util.EventListener</code>
      * @return an array of all objects registered as
      *          <code><em>Foo</em>Listener</code>s on this