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

incomplete doc for java.awt.dnd.DropTargetContext

XMLWordPrintable

    • sparc
    • solaris_2.5.1

      Name: sdC67446 Date: 03/11/99


      The doc for DropTargetContext says nothing about the behavior of:

      protected Transferable
      DropTargetContext.createTransferableProxy(Transferable t,
                                                boolean local)
      if 't' == null.

      Also the valid range for 'actions' parameter is unspecified in:

      protected void DropTargetContext.setTargetActions(int actions)

      The doc says:
      ________
      protected Transferable createTransferableProxy(Transferable t,
                                                     boolean local)

             subclasses may override this to supply their own Proxy Transferable

             Parameters:
                    t - the Transferable
                    local - boolean

             Returns:
                    the Transferable

      protected void setTargetActions(int actions)

             This method sets the current actions acceptable to this DropTarget.

             Parameters:
                    actions - an int representing the supported action(s)

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

            denis Denis Fokin (Inactive)
            dsvsunw Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: