Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4219341

incomplete doc for java.awt.dnd.DragSourceDragEvent

XMLWordPrintable

    • tiger
    • sparc
    • solaris_2.5.1



      Name: sdC67446 Date: 03/11/99


      The doc for DragSourceDragEvent says nothing about the ctor's behavior
      if input 'dsc' == null.

      The doc says:
      public DragSourceDragEvent(DragSourceContext dsc,
                                 int dropAction,
                                 int actions,
                                 int modifiers)

             Constructs a DragSourceDragEvent. This class is typically
             instantiated by the DragSourceContextPeer rather than directly
             by client code.

             Parameters:
                    dsc - the DragSourceContext that is to manage
                    notifications for this event.
                    dropAction - the value of one of the static fields from
                    DNDConstants indicating the type of user drop action
                    this event represents.
                    actions - the value of one of the static fields from
                    DNDConstants indicating the type of target drop action
                    supported by and returned from the current drop target.
                    modifiers - specifies the state of the input device
                    modifiers associated with the user gesture.

      ________
      ======================================================================

            dassunw Das Das (Inactive)
            dsvsunw Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: