|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.datatransfer.StringSelection
net.sourceforge.mp3dings.datatransfer.TransferData
public class TransferData
A Transferable that wraps plain text and html data for the clipboard.*
| Field Summary | |
|---|---|
protected static DataFlavor |
HTML0
|
protected static DataFlavor |
HTML1
|
protected static DataFlavor |
OBJECT
Description of the Field |
protected static DataFlavor |
URI_FILE_LIST
|
| Constructor Summary | |
|---|---|
TransferData(Object obj,
String plaintext,
String markup,
File[] files)
Constructs a new TransferData. |
|
| Method Summary | |
|---|---|
static DataFlavor[] |
getDefaultFlavors()
|
Object |
getTransferData(DataFlavor df)
Gets the transferData attribute of the TransferData object. |
DataFlavor[] |
getTransferDataFlavors()
Gets the supported DataFlavors. |
boolean |
isDataFlavorSupported(DataFlavor flavor)
Gets the dataFlavorSupported attribute of the TransferData object |
| Methods inherited from class java.awt.datatransfer.StringSelection |
|---|
lostOwnership |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static DataFlavor HTML0
protected static DataFlavor HTML1
protected static DataFlavor URI_FILE_LIST
protected static DataFlavor OBJECT
| Constructor Detail |
|---|
public TransferData(Object obj,
String plaintext,
String markup,
File[] files)
obj - Description of the Parameterplaintext - Description of the Parametermarkup - Description of the Parameterfiles - Description of the Parameter| Method Detail |
|---|
public Object getTransferData(DataFlavor df)
throws UnsupportedFlavorException,
IOException
getTransferData in interface TransferablegetTransferData in class StringSelectiondf - Description of the Parameter
UnsupportedFlavorException - Description of the Exception
IOException - Description of the Exceptionpublic DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors in interface TransferablegetTransferDataFlavors in class StringSelectionpublic static DataFlavor[] getDefaultFlavors()
public boolean isDataFlavorSupported(DataFlavor flavor)
isDataFlavorSupported in interface TransferableisDataFlavorSupported in class StringSelectionflavor - Description of the Parameter
|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||