JavaTM 2 Platform
Std. Ed. v1.3.1

com.apple.mrj.dnd
Class DragEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--java.awt.AWTEvent
              |
              +--java.awt.event.ComponentEvent
                    |
                    +--java.awt.event.InputEvent
                          |
                          +--java.awt.event.MouseEvent
                                |
                                +--com.apple.mrj.dnd.DragEvent
All Implemented Interfaces:
Serializable

Deprecated. As of MacOSX 10.2, replaced by Java2 DnD.

public class DragEvent
extends MouseEvent

An event sent to a registered DragListener during a drag/drop.

See Also:
Serialized Form

Field Summary
static int DRAG_DROPPED
          Deprecated.  
static int DRAG_ENTERED
          Deprecated.  
static int DRAG_EXITED
          Deprecated.  
static int DRAG_FIRST
          Deprecated.  
static int DRAG_LAST
          Deprecated.  
static int DRAG_MOVED
          Deprecated.  
 
Fields inherited from class java.awt.event.MouseEvent
MOUSE_CLICKED, MOUSE_DRAGGED, MOUSE_ENTERED, MOUSE_EXITED, MOUSE_FIRST, MOUSE_LAST, MOUSE_MOVED, MOUSE_PRESSED, MOUSE_RELEASED
 
Fields inherited from class java.awt.event.InputEvent
ALT_GRAPH_MASK, ALT_MASK, BUTTON1_MASK, BUTTON2_MASK, BUTTON3_MASK, CTRL_MASK, META_MASK, SHIFT_MASK
 
Fields inherited from class java.awt.event.ComponentEvent
COMPONENT_FIRST, COMPONENT_HIDDEN, COMPONENT_LAST, COMPONENT_MOVED, COMPONENT_RESIZED, COMPONENT_SHOWN
 
Fields inherited from class java.awt.AWTEvent
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DragEvent(Component source, int id, long when, int modifiers, int x, int y, IncomingDrag drag)
          Deprecated.  
 
Method Summary
 IncomingDrag getDrag()
          Deprecated.  
 String paramString()
          Deprecated. Returns a parameter string identifying this event.
 
Methods inherited from class java.awt.event.MouseEvent
getClickCount, getPoint, getX, getY, isPopupTrigger, translatePoint
 
Methods inherited from class java.awt.event.InputEvent
consume, getModifiers, getWhen, isAltDown, isAltGraphDown, isConsumed, isControlDown, isMetaDown, isShiftDown
 
Methods inherited from class java.awt.event.ComponentEvent
getComponent
 
Methods inherited from class java.awt.AWTEvent
getID, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DRAG_FIRST

public static final int DRAG_FIRST
Deprecated. 

DRAG_LAST

public static final int DRAG_LAST
Deprecated. 

DRAG_ENTERED

public static final int DRAG_ENTERED
Deprecated. 

DRAG_MOVED

public static final int DRAG_MOVED
Deprecated. 

DRAG_DROPPED

public static final int DRAG_DROPPED
Deprecated. 

DRAG_EXITED

public static final int DRAG_EXITED
Deprecated. 
Constructor Detail

DragEvent

public DragEvent(Component source,
                 int id,
                 long when,
                 int modifiers,
                 int x,
                 int y,
                 IncomingDrag drag)
Deprecated. 
Method Detail

getDrag

public IncomingDrag getDrag()
Deprecated. 

paramString

public String paramString()
Deprecated. 
Description copied from class: MouseEvent
Returns a parameter string identifying this event. This method is useful for event-logging and for debugging.
Overrides:
paramString in class MouseEvent
Following copied from class: java.awt.event.MouseEvent
Returns:
a string identifying the event and its attributes

JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.