Java Platform 1.2

java.awt.dnd
Class DropTargetEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--java.awt.dnd.DropTargetEvent
Direct Known Subclasses:
DropTargetDragEvent, DropTargetDropEvent

public class DropTargetEvent
extends EventObject

The DropTargetEvent is the base class for both the DropTargetDragEvent and The DropTargetDropEvent. It encapsulates the current state of the Drag and Drop operations, in particular the current DropTargetContext.

Since:
JDK1.2
See Also:
Serialized Form

Field Summary
protected  DropTargetContext context
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DropTargetEvent(DropTargetContext dtc)
          Construct a DropTargetEvent
 
Method Summary
 DropTargetContext getDropTargetContext()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

context

protected DropTargetContext context
Constructor Detail

DropTargetEvent

public DropTargetEvent(DropTargetContext dtc)
Construct a DropTargetEvent
Method Detail

getDropTargetContext

public DropTargetContext getDropTargetContext()
Returns:
the DropTargetContext

Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.