Java™ Platform
Standard Ed. 8

Uses of Class
java.awt.dnd.DropTargetEvent

  • Packages that use DropTargetEvent 
    Package Description
    java.awt.dnd
    Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.
    • Uses of DropTargetEvent in java.awt.dnd

      Subclasses of DropTargetEvent in java.awt.dnd 
      Modifier and Type Class and Description
      class  DropTargetDragEvent
      The DropTargetDragEvent is delivered to a DropTargetListener via its dragEnter() and dragOver() methods.
      class  DropTargetDropEvent
      The DropTargetDropEvent is delivered via the DropTargetListener drop() method.
      Methods in java.awt.dnd with parameters of type DropTargetEvent 
      Modifier and Type Method and Description
      void DropTargetAdapter.dragExit(DropTargetEvent dte)
      Called while a drag operation is ongoing, when the mouse pointer has exited the operable part of the drop site for the DropTarget registered with this listener.
      void DropTargetListener.dragExit(DropTargetEvent dte)
      Called while a drag operation is ongoing, when the mouse pointer has exited the operable part of the drop site for the DropTarget registered with this listener.
      void DropTarget.dragExit(DropTargetEvent dte)
      Calls dragExit on the registered DropTargetListener and passes it the specified DropTargetEvent.
Java™ Platform
Standard Ed. 8

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部