53 |
*/ |
*/ |
54 |
public interface DropTargetContextPeer |
public interface DropTargetContextPeer |
55 |
{ |
{ |
56 |
public void setTargetActions(int actions); |
void setTargetActions(int actions); |
57 |
public int getTargetActions(); |
int getTargetActions(); |
58 |
public DropTarget getDropTarget(); |
DropTarget getDropTarget(); |
59 |
public DataFlavor[] getTransferDataFlavors(); |
DataFlavor[] getTransferDataFlavors(); |
60 |
public Transferable getTransferable() throws InvalidDnDOperationException; |
Transferable getTransferable() throws InvalidDnDOperationException; |
61 |
public boolean isTransferableJVMLocal(); |
boolean isTransferableJVMLocal(); |
62 |
public void acceptDrag(int dragAction); |
void acceptDrag(int dragAction); |
63 |
public void rejectDrag(); |
void rejectDrag(); |
64 |
public void acceptDrop(int dropAction); |
void acceptDrop(int dropAction); |
65 |
public void rejectDrop(); |
void rejectDrop(); |
66 |
public void dropComplete(boolean success); |
void dropComplete(boolean success); |
67 |
} |
} |