|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.ocd.dcf.dnd.DragListenerAdapter
<< License Info Goes HERE >> All Rights Reserved. DragListenerAdapter Description:
Constructor Summary | |
DragListenerAdapter(DCComponent pComp)
Create a DragListener for a specific DC Component. |
|
DragListenerAdapter(DCComponent pComp,
java.awt.dnd.DragSourceListener pListener)
Create a DragListener for a specific DC Component. |
|
DragListenerAdapter(java.awt.datatransfer.Transferable pTransferable,
java.awt.Image pDragImage,
java.awt.dnd.DragSourceListener pListener)
Create a DragListener for a specific Object. |
Method Summary | |
void |
dragDropEnd(java.awt.dnd.DragSourceDropEvent pEvent)
Fire DragDropEnd event to associated DragSourceListener |
void |
dragEnter(java.awt.dnd.DragSourceDragEvent pEvent)
Fire DragEnter event to associated DragSourceListener |
void |
dragExit(java.awt.dnd.DragSourceEvent pEvent)
Fire DragExit event to associated DragSourceListener |
void |
dragGestureRecognized(java.awt.dnd.DragGestureEvent pEvent)
Default implementation of Drag Recognized This method will |
void |
dragOver(java.awt.dnd.DragSourceDragEvent pEvent)
Fire DragOver event to associated DragSourceListener |
void |
dropActionChanged(java.awt.dnd.DragSourceDragEvent pEvent)
Fire DropActionChanged event to associated DragSourceListener |
void |
setDragImage(java.awt.Image pDragImage)
Set the DragImage that will be used during DnD operstions |
void |
setTransferable(java.awt.datatransfer.Transferable pTransferable)
Set the Transferable object that will be used during DnD operations |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DragListenerAdapter(java.awt.datatransfer.Transferable pTransferable, java.awt.Image pDragImage, java.awt.dnd.DragSourceListener pListener)
pTransferable
- that contains the DatapDragImage
- image to display during dragpListener
- listener that will be notified of DragSource eventspublic DragListenerAdapter(DCComponent pComp)
pComp
- the Component that we will listen for drag operations.public DragListenerAdapter(DCComponent pComp, java.awt.dnd.DragSourceListener pListener)
pComp
- the Component that we will listen for drag operations.pListener
- listener that will be notified of DragSource eventsMethod Detail |
public void setTransferable(java.awt.datatransfer.Transferable pTransferable)
pTransferable
- public void setDragImage(java.awt.Image pDragImage)
pDragImage
- public void dragGestureRecognized(java.awt.dnd.DragGestureEvent pEvent)
dragGestureRecognized
in interface java.awt.dnd.DragGestureListener
public void dragOver(java.awt.dnd.DragSourceDragEvent pEvent)
dragOver
in interface java.awt.dnd.DragSourceListener
public void dragExit(java.awt.dnd.DragSourceEvent pEvent)
dragExit
in interface java.awt.dnd.DragSourceListener
public void dropActionChanged(java.awt.dnd.DragSourceDragEvent pEvent)
dropActionChanged
in interface java.awt.dnd.DragSourceListener
public void dragEnter(java.awt.dnd.DragSourceDragEvent pEvent)
dragEnter
in interface java.awt.dnd.DragSourceListener
public void dragDropEnd(java.awt.dnd.DragSourceDropEvent pEvent)
dragDropEnd
in interface java.awt.dnd.DragSourceListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |