org.openide.util 6.8.22

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

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.


org.openide.util 6.8.22

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.