This package contains the Transferables used by DTS Beans in Drag and Drop.

There are various DTS data objects that can be dragged and dropped between the DTS Editor and a plug-in. These include Concept Association, Concept, Property, Role, Subset, Synonym, Term Association and Term. Each one of these has a corresponding Transferable object like {@link com.apelon.beans.dts.plugin.transferable.ConceptTransferable}, {@link com.apelon.beans.dts.plugin.transferable.TermTransferable}, etc. In turn, each one of these Transferable objects contains certain DataFlavers that can be retrieved once the object is dropped. For instance, if a {@link com.apelon.beans.dts.plugin.transferable.ConceptAssociationTransferable} is dropped, a Concept Association, DTS Concept or String object can be taken out and used in the plug-in.

All Transferable objects in this package extend {@link com.apelon.beans.dts.plugin.transferable.AbstractTransferable}. They implement the getTransferDataFlavors and isDataFlavorSupported methods of Sun's Transferable interface. Transferables in this package extending this class use setTransferDataFlavors() to set the supporting DataFlavor for the Transferable. Additionally, each Transferable uses getDataFlavor() to return its DataFlavor. getTransferDataFlavors() returns an array of DataFlavor objects indicating the flavors the data can be provided in. To find out whether or not the specified data flavor is supported call isDataFlavorSupported(). {@link com.apelon.beans.dts.plugin.transferable.DTSDataFlavor} defines the various Data Flavors for DTS Data Types. These are static fields such as conceptFlavor, conceptAssociationFlavor, etc. {@link com.apelon.beans.dts.plugin.transferable.DTSMultiData} handles data flavors during multiple selections.

{@link com.apelon.beans.dts.plugin.transferable.DTSMultiTransferable} can be used to transfer a list of DTS Objects as a Vector through Drag and Drop. It supports all the DTS object and String data flavors. Implements {@link com.apelon.beans.dts.plugin.transferable.AbstractTransferable} like all the other Transferables.

Package Specification

For more information see Sun's data transfer package.

Related Documentation

For overviews, tutorials, examples, guides, and additional documentation, please see: