public class IlvPaletteObjectTransferable extends Object implements Transferable
| Modifier and Type | Field and Description |
|---|---|
static String |
HUMAN_PRESENTABLE_NAME
Human representable name of the data flavor supported by this transferable
|
static DataFlavor |
PALETTE_OBJECT_FLAVOR
The data flavor supported by this transferable
|
| Constructor and Description |
|---|
IlvPaletteObjectTransferable(Collection objects,
IlvPaletteViewer viewer)
Creates a transferable for several objects
|
IlvPaletteObjectTransferable(IlvPaletteObject object,
IlvPaletteViewer viewer)
Creates a transferable object for this data
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getTransferData(DataFlavor flavor) |
DataFlavor[] |
getTransferDataFlavors() |
boolean |
isDataFlavorSupported(DataFlavor flavor) |
public static final String HUMAN_PRESENTABLE_NAME
public static final DataFlavor PALETTE_OBJECT_FLAVOR
public IlvPaletteObjectTransferable(IlvPaletteObject object, IlvPaletteViewer viewer)
object - The object to transfer from a component to anotherviewer - The viewer from which the the drag operation startedpublic IlvPaletteObjectTransferable(Collection objects, IlvPaletteViewer viewer)
objects - The objects to transferviewer - The viewer from which the the drag operation startedpublic DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors in interface Transferablepublic boolean isDataFlavorSupported(DataFlavor flavor)
isDataFlavorSupported in interface Transferablepublic Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException
getTransferData in interface TransferableUnsupportedFlavorExceptionIOException© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.