edu.northwestern.at.wordhoard.swing.accounts
Class UserTransferable

java.lang.Object
  extended by edu.northwestern.at.wordhoard.swing.accounts.UserTransferable
All Implemented Interfaces:
java.awt.datatransfer.Transferable

public class UserTransferable
extends java.lang.Object
implements java.awt.datatransfer.Transferable


Field Summary
(package private)  UserTransferData data
           
(package private)  java.lang.String localType
           
(package private)  java.awt.datatransfer.DataFlavor xferFlavor
           
 
Constructor Summary
UserTransferable(UserTransferData gos)
           
 
Method Summary
 java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
           
 java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
           
 boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

UserTransferData data

xferFlavor

java.awt.datatransfer.DataFlavor xferFlavor

localType

java.lang.String localType
Constructor Detail

UserTransferable

public UserTransferable(UserTransferData gos)
Method Detail

getTransferData

public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
                                 throws java.awt.datatransfer.UnsupportedFlavorException
Specified by:
getTransferData in interface java.awt.datatransfer.Transferable
Throws:
java.awt.datatransfer.UnsupportedFlavorException

getTransferDataFlavors

public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
Specified by:
getTransferDataFlavors in interface java.awt.datatransfer.Transferable

isDataFlavorSupported

public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
Specified by:
isDataFlavorSupported in interface java.awt.datatransfer.Transferable