org.openide.util.datatransfer
Interface TransferListener

All Superinterfaces:
EventListener

public interface TransferListener
extends 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.


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

public 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

public void rejected()
The transfer has been rejected.

ownershipLost

public void ownershipLost()
Released from a clipboard.


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.