Package jmri.util.iharder.dnd
Interface TransferableObject.Fetcher
-
- Enclosing class:
- TransferableObject
public static interface TransferableObject.Fetcher
Instead of passing your data directly to theTransferableObject
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 thegetTransferData(...)
method is called on theTransferableObject
, theTransferableObject.Fetcher
'sgetObject()
method will be called.- Since:
- 1.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
getObject()
Return the object being encapsulated in theTransferableObject
.
-
-
-
Method Detail
-
getObject
java.lang.Object getObject()
Return the object being encapsulated in theTransferableObject
.- Returns:
- The dropped object
- Since:
- 1.1
-
-