|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.apelon.beans.dts.plugin.transferable.AbstractTransferable com.apelon.beans.dts.plugin.transferable.DTSMultiTransferable
public class DTSMultiTransferable
For transfer of a list of DTS Objects as Vector
through Drag and Drop.
It supports these data flavors:
DTSDataFlavor.multiFlavor
)
DTSDataFlavor.conceptFlavor
)
DTSDataFlavor.conceptAssociationFlavor
)
DTSDataFlavor.roleFlavor
)
DTSDataFlavor.propertyFlavor
)
DTSDataFlavor.synonymFlavor
)
DTSDataFlavor.termAssociationFlavor
)
DTSDataFlavor.termFlavor
)
Constructor Summary | |
---|---|
DTSMultiTransferable(Vector selectedItems)
Initializes with given selectedItems. |
Method Summary | |
---|---|
static DataFlavor |
getDataFlavor()
Deprecated. Use DTSDataFlavor.multiFlavor instead |
Object |
getTransferData(DataFlavor dataflavor)
Returns the data for a given DataFlavor. |
Methods inherited from class com.apelon.beans.dts.plugin.transferable.AbstractTransferable |
---|
createConstant, getTransferDataFlavors, isDataFlavorSupported, setTransferDataFlavors |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DTSMultiTransferable(Vector selectedItems)
Method Detail |
---|
public static DataFlavor getDataFlavor()
DTSDataFlavor.multiFlavor
instead
public Object getTransferData(DataFlavor dataflavor)
For Multiple DTS Objects Data Flavor, the list (Vector
) of this Transferable is returned.
For other Data Flavor, the returned value is the first item of the list.
dataflavor
- java.awt.datatransfer.DataFlavor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |