|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openide.util.datatransfer.ExTransferable.Multi
Transferable object for multiple transfer. It allows several types of data to be combined into one clipboard element.
Constructor Summary | |
ExTransferable.Multi(Transferable[] trans)
Constructor taking a list of Transferable objects. |
Method Summary | |
Object |
getTransferData(DataFlavor flavor)
Get transfer data. |
DataFlavor[] |
getTransferDataFlavors()
Get supported flavors. |
boolean |
isDataFlavorSupported(DataFlavor flavor)
Is this flavor supported? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExTransferable.Multi(Transferable[] trans)
Transferable
objects.
trans
- array of transferable objectsMethod Detail |
public DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors
in interface Transferable
ExTransferable.multiFlavor
public boolean isDataFlavorSupported(DataFlavor flavor)
isDataFlavorSupported
in interface Transferable
flavor
- the flavor
true
only if the flavor is ExTransferable.multiFlavor
public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException
getTransferData
in interface Transferable
flavor
- the flavor (ExTransferable.multiFlavor
)
MultiTransferObject
that represents data in this object
UnsupportedFlavorException
- when the flavor is not supported
IOException
- when it is not possible to read data
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |