Package jmri.util.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
-
Method Summary
Modifier and TypeMethodDescriptionReturn the object being encapsulated in theTransferableObject.
-
Method Details
-
getObject
Return the object being encapsulated in theTransferableObject.- Returns:
- The dropped object
- Since:
- 1.1
-