Class MidiFileDragInTransferHandler

java.lang.Object
javax.swing.TransferHandler
org.jjazz.uiutilities.api.MidiFileDragInTransferHandler
All Implemented Interfaces:
Serializable

public abstract class MidiFileDragInTransferHandler extends TransferHandler
Our drag'n drop support to accept external Midi files dragged into a component.

Note that behaviour is different on MacOS: getSourceActions(), createTransferable(), exportDone() can be called several times during a drag operation ! (only 1 for Win/Linux). Also on MacOS the support parameter is not always fully initialized on canImport(), is is fully initialized only when importData() is called (see MidiFileDragInTransferHandler.java for example).

See Also: