Package org.apache.pivot.wtk
Class LocalManifestAdapter
- java.lang.Object
-
- org.apache.pivot.wtk.LocalManifestAdapter
-
- All Implemented Interfaces:
java.awt.datatransfer.Transferable
public class LocalManifestAdapter extends java.lang.Object implements java.awt.datatransfer.Transferable
Manifest class that serves as data source for a clipboard or drag/drop operation.
-
-
Constructor Summary
Constructors Constructor Description LocalManifestAdapter(LocalManifest localManifest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getTransferData(java.awt.datatransfer.DataFlavor dataFlavor)
java.awt.datatransfer.DataFlavor[]
getTransferDataFlavors()
boolean
isDataFlavorSupported(java.awt.datatransfer.DataFlavor dataFlavor)
-
-
-
Constructor Detail
-
LocalManifestAdapter
public LocalManifestAdapter(LocalManifest localManifest)
-
-
Method Detail
-
getTransferData
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor dataFlavor) throws java.awt.datatransfer.UnsupportedFlavorException
- Specified by:
getTransferData
in interfacejava.awt.datatransfer.Transferable
- Throws:
java.awt.datatransfer.UnsupportedFlavorException
-
getTransferDataFlavors
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors
in interfacejava.awt.datatransfer.Transferable
-
isDataFlavorSupported
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor dataFlavor)
- Specified by:
isDataFlavorSupported
in interfacejava.awt.datatransfer.Transferable
-
-