java.lang.Object
com.virtuosotechnologies.asaph.modelutils.TransferableImpl
- All Implemented Interfaces:
- java.awt.datatransfer.Transferable
- class TransferableImpl
- extends java.lang.Object
- implements java.awt.datatransfer.Transferable
Transferable implementation
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data_
private java.lang.Object data_
song_
private com.virtuosotechnologies.asaph.model.Song song_
TransferableImpl
TransferableImpl(com.virtuosotechnologies.asaph.modelutils.impl.LineFragmentData data,
com.virtuosotechnologies.asaph.model.Song song)
TransferableImpl
TransferableImpl(com.virtuosotechnologies.asaph.modelutils.impl.LineListData data,
com.virtuosotechnologies.asaph.model.Song song)
TransferableImpl
TransferableImpl(com.virtuosotechnologies.asaph.modelutils.impl.BlockListData data,
com.virtuosotechnologies.asaph.model.Song song)
TransferableImpl
TransferableImpl(java.awt.datatransfer.Transferable delegate,
com.virtuosotechnologies.asaph.model.Song song)
getSong
com.virtuosotechnologies.asaph.model.Song getSong()
getTransferData
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
throws java.awt.datatransfer.UnsupportedFlavorException,
java.io.IOException
- Description copied from interface:
java.awt.datatransfer.Transferable
- Returns the data in the specified
DataFlavor.
- Specified by:
getTransferData in interface java.awt.datatransfer.Transferable
getTransferDataFlavors
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
- Description copied from interface:
java.awt.datatransfer.Transferable
- This method returns a list of available data flavors for the data being
transferred. The array returned will be sorted from most preferred
flavor at the beginning to least preferred at the end.
- Specified by:
getTransferDataFlavors in interface java.awt.datatransfer.Transferable
isDataFlavorSupported
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
- Description copied from interface:
java.awt.datatransfer.Transferable
- Tests whether or not this data can be delivered in the specified data
flavor.
- Specified by:
isDataFlavorSupported in interface java.awt.datatransfer.Transferable