Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Class java.awt.dnd.DragSourceDragEvent

java.lang.Object
    |
    +----java.util.EventObject
            |
            +----java.awt.dnd.DragSourceEvent
                    |
                    +----java.awt.dnd.DragSourceDragEvent

public class DragSourceDragEvent
extends DragSourceEvent

The DragSourceDragEvent is delivered from the DragSourceContextPeer, via the DragSourceContext, to the currently registered DragSourceListener. It contains state regarding the current state of the operation to enable the operations initiator to provide the end user with the appropriate drag over feedback.

Since:
JDK1.2

Fields inherited from class java.util.EventObject
 source
 

Constructor Summary
 DragSourceDragEvent(DragSourceContext dsc, int dropAction, int actions, int modifiers)
construct a DragSourceEvent
 DragSourceDragEvent(DragSourceContext dsc, int dropAction, int actions, int modifiers, boolean isLocal)
construct a DragSourceEvent
 

Method Summary
int  getDropAction()
 
int  getGestureModifiers()
 
int  getTargetActions()
 
boolean  isLocalDropTarget()
 
 
Methods inherited from class java.awt.dnd.DragSourceEvent
 getDragSourceContext
 
Methods inherited from class java.util.EventObject
 getSource, toString
 
Methods inherited from class java.lang.Object
 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DragSourceDragEvent

public DragSourceDragEvent(DragSourceContext dsc,
                           int dropAction,
                           int actions,
                           int modifiers)
construct a DragSourceEvent

DragSourceDragEvent

public DragSourceDragEvent(DragSourceContext dsc,
                           int dropAction,
                           int actions,
                           int modifiers,
                           boolean isLocal)
construct a DragSourceEvent
Method Detail

getTargetActions

public int getTargetActions()
Returns:
the DragSourceContext that sourced this event

getGestureModifiers

public int getGestureModifiers()
Returns:
the current device modifiers

isLocalDropTarget

public boolean isLocalDropTarget()
Returns:
if the current Target is in the same JVM or not.

getDropAction

public int getDropAction()
Returns:
the currently selected drop action

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
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.