grendel.dnd
Class DropTargetContext
java.lang.Object
|
+--grendel.dnd.DropTargetContext
- public class DropTargetContext
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DropTargetContext
public DropTargetContext()
getGrendelDropTarget
public DropTarget getGrendelDropTarget()
getComponent
public java.awt.Component getComponent()
setTargetActions
public void setTargetActions(int actions)
throws InvalidDnDOperationException
getTargetActions
public int getTargetActions()
getDataFlavors
public java.awt.datatransfer.DataFlavor[] getDataFlavors()
getTransferable
public void getTransferable()
throws InvalidDnDOperationException
dropComplete
public void dropComplete(boolean success)
throws InvalidDnDOperationException
acceptDrop
protected void acceptDrop(int action)
rejectDrop
protected void rejectDrop()