jdk/src/share/classes/java/awt/dnd/DragSource.java
changeset 22281 830790e8640d
parent 20156 e19f062edcfe
child 23010 6dadb192ad81
equal deleted inserted replaced
22280:384c863b2462 22281:830790e8640d
   493      * <code>DragGestureRecognizer</code>, and
   493      * <code>DragGestureRecognizer</code>, and
   494      * sets the specified <code>Component</code>
   494      * sets the specified <code>Component</code>
   495      * and <code>DragGestureListener</code> on
   495      * and <code>DragGestureListener</code> on
   496      * the newly created object.
   496      * the newly created object.
   497      * <P>
   497      * <P>
       
   498      * @param <T> the type of {@code DragGestureRecognizer} to create
   498      * @param recognizerAbstractClass the requested abstract type
   499      * @param recognizerAbstractClass the requested abstract type
   499      * @param actions                 the permitted source drag actions
   500      * @param actions                 the permitted source drag actions
   500      * @param c                       the <code>Component</code> target
   501      * @param c                       the <code>Component</code> target
   501      * @param dgl        the <code>DragGestureListener</code> to notify
   502      * @param dgl        the <code>DragGestureListener</code> to notify
   502      * <P>
   503      * <P>
   667      * Gets all the objects currently registered as
   668      * Gets all the objects currently registered as
   668      * <code><em>Foo</em>Listener</code>s upon this <code>DragSource</code>.
   669      * <code><em>Foo</em>Listener</code>s upon this <code>DragSource</code>.
   669      * <code><em>Foo</em>Listener</code>s are registered using the
   670      * <code><em>Foo</em>Listener</code>s are registered using the
   670      * <code>add<em>Foo</em>Listener</code> method.
   671      * <code>add<em>Foo</em>Listener</code> method.
   671      *
   672      *
       
   673      * @param <T> the type of listener objects
   672      * @param listenerType the type of listeners requested; this parameter
   674      * @param listenerType the type of listeners requested; this parameter
   673      *          should specify an interface that descends from
   675      *          should specify an interface that descends from
   674      *          <code>java.util.EventListener</code>
   676      *          <code>java.util.EventListener</code>
   675      * @return an array of all objects registered as
   677      * @return an array of all objects registered as
   676      *          <code><em>Foo</em>Listener</code>s on this
   678      *          <code><em>Foo</em>Listener</code>s on this