org.ocd.dcf.dnd
Class DCDropTargetDropEvent
java.lang.Object
|
+--java.util.EventObject
|
+--java.awt.dnd.DropTargetEvent
|
+--java.awt.dnd.DropTargetDropEvent
|
+--org.ocd.dcf.dnd.DCDropTargetDropEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class DCDropTargetDropEvent
- extends java.awt.dnd.DropTargetDropEvent
Class used to Create a DropTargetDrop Event and bypass DropTargetContext
- See Also:
- Serialized Form
Fields inherited from class java.awt.dnd.DropTargetEvent |
context |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
DCDropTargetDropEvent(java.awt.dnd.DragSource pSource,
java.awt.dnd.DropTarget pTarget,
java.awt.Point pCursorLocn,
int pDropAction,
int pSrcActions,
boolean pIsLocal,
java.awt.datatransfer.Transferable pTransfer,
java.awt.dnd.DragGestureEvent pTrigger)
|
Methods inherited from class java.awt.dnd.DropTargetDropEvent |
getCurrentDataFlavors, getCurrentDataFlavorsAsList, getLocation, getSourceActions, isLocalTransfer |
Methods inherited from class java.awt.dnd.DropTargetEvent |
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 |
DCDropTargetDropEvent
public DCDropTargetDropEvent(java.awt.dnd.DragSource pSource,
java.awt.dnd.DropTarget pTarget,
java.awt.Point pCursorLocn,
int pDropAction,
int pSrcActions,
boolean pIsLocal,
java.awt.datatransfer.Transferable pTransfer,
java.awt.dnd.DragGestureEvent pTrigger)
getTrigger
public java.awt.dnd.DragGestureEvent getTrigger()
getDropAction
public int getDropAction()
- Overrides:
getDropAction
in class java.awt.dnd.DropTargetDropEvent
acceptDrop
public void acceptDrop(int pDropAction)
- Overrides:
acceptDrop
in class java.awt.dnd.DropTargetDropEvent
dropComplete
public void dropComplete(boolean pSuccess)
- Overrides:
dropComplete
in class java.awt.dnd.DropTargetDropEvent
getTransferable
public java.awt.datatransfer.Transferable getTransferable()
- Overrides:
getTransferable
in class java.awt.dnd.DropTargetDropEvent
rejectDrop
public void rejectDrop()
- Overrides:
rejectDrop
in class java.awt.dnd.DropTargetDropEvent
isDataFlavorSupported
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor pFlavor)
- Overrides:
isDataFlavorSupported
in class java.awt.dnd.DropTargetDropEvent