org.openide.util.datatransfer
Interface TransferListener

All Superinterfaces:
java.util.EventListener

public interface TransferListener
extends java.util.EventListener

Allows listening to progress of manipulation with ExTransferable. So it is notified when the transferable is accepted/rejected by an operation or if it is released from a clipboard.

Author:
Jaroslav Tulach

Method Summary
 void accepted(int action)
          Accepted by a drop operation.
 void ownershipLost()
          Released from a clipboard.
 void rejected()
          The transfer has been rejected.
 

Method Detail

accepted

void accepted(int action)
Accepted by a drop operation.

Parameters:
action - One of java.awt.dnd.DndConstants like ACTION_COPY, ACTION_MOVE, ACTION_LINK.

rejected

void rejected()
The transfer has been rejected.


ownershipLost

void ownershipLost()
Released from a clipboard.