net.iharder.dnd
Interface TransferableObject.Fetcher
- Enclosing class:
- TransferableObject
public static interface TransferableObject.Fetcher
Instead of passing your data directly to the TransferableObject
constructor, you may want to know exactly when your data was received
in case you need to remove it from its source (or do anyting else to
it). When the getTransferData(...)
method is
called on the TransferableObject
, the TransferableObject.Fetcher
's
getObject()
method will be called.
- Since:
- 1.1
- Version:
- 1.1
- Author:
- Robert Harder
copyright 2001
getObject
java.lang.Object getObject()
- Return the object being encapsulated in the
TransferableObject
.
- Returns:
- The dropped object
- Since:
- 1.1