|
||||||||||
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.ConceptTransferable
public class ConceptTransferable
For transfer of DTS Concept through Drag and Drop.
It supports these data flavors:
DTSDataFlavor.conceptFlavor
)
DataFlavor.stringFlavor
)
Copyright: Copyright (c) 2003
Company: Apelon
Constructor Summary | |
---|---|
ConceptTransferable(DTSConcept con)
Initializes with given DTSConcept . |
Method Summary | |
---|---|
static DataFlavor |
getDataFlavor()
Deprecated. Use DTSDataFlavor.conceptFlavor 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 ConceptTransferable(DTSConcept con)
DTSConcept
. The supported DataFlavors
are set.
Method Detail |
---|
public static DataFlavor getDataFlavor()
DTSDataFlavor.conceptFlavor
instead
public Object getTransferData(DataFlavor dataflavor)
For Concept Data Flavor, the concept (DTSConcept
) of this Transferable is returned.
For String Data Flavor, the name of the concept is retuned.
For other Data Flavor, the returned value is null
dataflavor
- java.awt.datatransfer.DataFlavor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |