Package com.apelon.beans.dts.plugin.transferable

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

See:
          Description

Class Summary
AbstractTransferable All transferable objects should normally extend this class.
ConceptAssociationTransferable For transfer of Concept Association through Drag and Drop.
ConceptTransferable For transfer of DTS Concept through Drag and Drop.
DTSDataFlavor Defines the various Data Flavors for DTS Data Types.
DTSMultiData Transfer object for data during multiple selection.
DTSMultiTransferable For transfer of a list of DTS Objects as Vector through Drag and Drop.
DTSPropertyTransferable For transfer of DTSProperty through Drag and Drop.
DTSRoleTransferable For transfer of DTSRole through Drag and Drop.
SubsetTransferable For transfer of Subset through Drag and Drop.
SynonymTransferable For transfer of transfer Synonym through Drag and Drop.
TermAssociationTransferable For transfer of Term Association through Drag and Drop.
TermTransferable For transfer of Term through Drag and Drop.
 

Package com.apelon.beans.dts.plugin.transferable Description

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 ConceptTransferable, 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 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 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(). DTSDataFlavor defines the various Data Flavors for DTS Data Types. These are static fields such as conceptFlavor, conceptAssociationFlavor, etc. DTSMultiData handles data flavors during multiple selections.

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 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:



Copyright © 2011. All Rights Reserved.