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
Author:
Robert Harder copyright 2001

Method Summary
 Object getObject()
          Return the object being encapsulated in the TransferableObject.
 

Method Detail

getObject

Object getObject()
Return the object being encapsulated in the TransferableObject.

Returns:
The dropped object
Since:
1.1


Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads