Package com.tagtraum.beatunes.player
Class PlayerTransferHandler
- java.lang.Object
-
- javax.swing.TransferHandler
-
- com.tagtraum.beatunes.draganddrop.VisualTransferHandler
-
- com.tagtraum.beatunes.player.PlayerTransferHandler
-
- All Implemented Interfaces:
Serializable
public class PlayerTransferHandler extends VisualTransferHandler
PlayerTransferHandler.- Author:
- Hendrik Schreiber
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.TransferHandler
TransferHandler.DropLocation, TransferHandler.TransferSupport
-
-
Field Summary
-
Fields inherited from class com.tagtraum.beatunes.draganddrop.VisualTransferHandler
idsFlavor, indicesFlavor, plainTextFlavor, playlistFlavor, songsFlavor, stringDataFlavor, uriListFlavor, urlDataFlavor
-
Fields inherited from class javax.swing.TransferHandler
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
-
-
Constructor Summary
Constructors Constructor Description PlayerTransferHandler(BeaTunes beaTunes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canImport(TransferHandler.TransferSupport support)
protected Transferable
createTransferableImpl(JComponent c)
boolean
importData(TransferHandler.TransferSupport support)
-
Methods inherited from class com.tagtraum.beatunes.draganddrop.VisualTransferHandler
createTransferable, exportDone, getDragImageRenderer, setDragImage, setDragImageRenderer, toPlainText, toPlainText, toPlainText, toURIList, toURIList, toURIList
-
Methods inherited from class javax.swing.TransferHandler
canImport, exportAsDrag, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getSourceActions, getVisualRepresentation, importData, setDragImageOffset
-
-
-
-
Constructor Detail
-
PlayerTransferHandler
public PlayerTransferHandler(BeaTunes beaTunes)
-
-
Method Detail
-
createTransferableImpl
protected Transferable createTransferableImpl(JComponent c)
- Specified by:
createTransferableImpl
in classVisualTransferHandler
-
canImport
public boolean canImport(TransferHandler.TransferSupport support)
- Overrides:
canImport
in classTransferHandler
-
importData
public boolean importData(TransferHandler.TransferSupport support)
- Overrides:
importData
in classTransferHandler
-
-