|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
<< License Info Goes HERE >> All Rights Reserved. DragListenerAdapter Description:
Method Summary | |
void |
dragStarted(java.awt.dnd.DragSourceContext pContext,
java.awt.Image pDragImage,
java.awt.Point pOffSet)
Start the Drag opertation for a certain Context |
java.awt.dnd.DragSourceContext |
getCurrentDragSourceContext()
Returns the current DragSource Context of the current Drag Operation or null if a drag operation is not going on |
java.awt.datatransfer.Transferable |
getCurrentTransferable()
Get the Current Transferable Object for the current Drag operation |
java.awt.dnd.DropTarget |
getDropTarget(java.awt.Point pLocation)
Return a Drop Component for the component at the Current Location This method should search up the component hierarchy until it finds a Drop Target |
void |
setDefaultDropTarget(java.awt.dnd.DropTarget pDropTarget)
Sets the default drop target if a drag occurs over any item that is not a Drop Target. |
Method Detail |
public void setDefaultDropTarget(java.awt.dnd.DropTarget pDropTarget)
default
- Drop Targetpublic java.awt.dnd.DropTarget getDropTarget(java.awt.Point pLocation)
Location
- look for the Drop Target in Screen Corrdinatespublic java.awt.dnd.DragSourceContext getCurrentDragSourceContext()
public void dragStarted(java.awt.dnd.DragSourceContext pContext, java.awt.Image pDragImage, java.awt.Point pOffSet)
DragSourceContext
- of this Dragimage
- that should be used during DragpImageOffset
- offSet of image location from Cursor or null to use Drag Component's Locationpublic java.awt.datatransfer.Transferable getCurrentTransferable()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |