|
||||||||||
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.TermAssociationTransferable
public class TermAssociationTransferable
For transfer of Term Association through Drag and Drop.
It supports these data flavors:
DTSDataFlavor.termAssociationFlavor
)
DTSDataFlavor.termFlavor
)
DataFlavor.stringFlavor
)
Copyright: Copyright (c) 2003
Company: Apelon
Constructor Summary | |
---|---|
TermAssociationTransferable(TermAssociation termAssoc)
Initializes with given TermAssociation. |
Method Summary | |
---|---|
static DataFlavor |
getDataFlavor()
Deprecated. Use DTSDataFlavor.termAssociationFlavor 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 TermAssociationTransferable(TermAssociation termAssoc)
Method Detail |
---|
public static DataFlavor getDataFlavor()
DTSDataFlavor.termAssociationFlavor
instead
public Object getTransferData(DataFlavor dataflavor)
For TermAssociation Data Flavor, the term association (TermAssociation
)of this Transferable is returned.
For Term Data Flavor, the to term from the term association is returned.
For String Data Flavor, the name of the to term from the term association 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 |