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

incomplete doc for java.awt.dnd.DragSourceDropEvent

XMLWordPrintable

    • tiger
    • sparc
    • solaris_2.5.1



      Name: sdC67446 Date: 03/11/99


      The doc for DragSourceDropEvent says nothing about the ctor's behavior
      if input 'dsc' == null. Also the valid range for int parameter is
      unspecified.

      public DragSourceDropEvent(DragSourceContext dsc,
                                 int action,
                                 boolean success)

      public DragSourceDropEvent(DragSourceContext dsc)

      -------------
      The doc says:
      public DragSourceDropEvent(DragSourceContext dsc,
                                 int action,
                                 boolean success)

             Construct a DragSourceDropEvent for a drop, given the
             DragSourceContext, the drop action, and a boolean indicating if
             the drop was successful.

             Parameters:
                    dsc - the DragSourceContext associated with this
                    DragSourceDropEvent
                    action - the drop action
                    success - a boolean indicating if the drop was
                    successful

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

            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: