|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object portaview.dnd.AlbumTransfer
Transfer object for the drag and drop the album to the portaview.
Field Summary | |
static java.awt.datatransfer.DataFlavor |
FLAVOUR
|
protected javax.swing.JComponent |
source
|
Constructor Summary | |
AlbumTransfer(javax.swing.JComponent src)
|
Method Summary | |
javax.swing.JComponent |
getSource()
|
java.lang.Object |
getTransferData(java.awt.datatransfer.DataFlavor flavor)
Returns the transfer data. |
java.awt.datatransfer.DataFlavor[] |
getTransferDataFlavors()
Returns the default data flavor (local jvm object). |
boolean |
isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
Returns true if the flavor is the jvm local MIME type. |
void |
setSource(javax.swing.JComponent component)
Sets the source component for this event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.awt.datatransfer.DataFlavor FLAVOUR
protected javax.swing.JComponent source
Constructor Detail |
public AlbumTransfer(javax.swing.JComponent src)
Method Detail |
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors
in interface java.awt.datatransfer.Transferable
Transferable.getTransferDataFlavors()
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
isDataFlavorSupported
in interface java.awt.datatransfer.Transferable
Transferable.isDataFlavorSupported(java.awt.datatransfer.DataFlavor)
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor) throws java.awt.datatransfer.UnsupportedFlavorException, java.io.IOException
getTransferData
in interface java.awt.datatransfer.Transferable
java.awt.datatransfer.UnsupportedFlavorException
java.io.IOException
Transferable.getTransferData(java.awt.datatransfer.DataFlavor)
public javax.swing.JComponent getSource()
public void setSource(javax.swing.JComponent component)
component
- the source for the drag and drop.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |