Package java.awt.datatransfer
See: Description
-
Interface Summary Interface Description ClipboardOwner Defines the interface for classes that will provide data to a clipboard.FlavorListener Defines an object which listens forFlavorEvent
s.FlavorMap A two-way Map between "natives" (Strings), which correspond to platform- specfic data formats, and "flavors" (DataFlavors), which corerspond to platform-independent MIME types.FlavorTable A FlavorMap which relaxes the traditional 1-to-1 restriction of a Map.Transferable Defines the interface for classes that can be used to provide data for a transfer operation. -
Class Summary Class Description Clipboard A class that implements a mechanism to transfer data using cut/copy/paste operations.DataFlavor ADataFlavor
provides meta information about data.FlavorEvent FlavorEvent
is used to notify interested parties that availableDataFlavor
s have changed in theClipboard
(the event source).StringSelection ATransferable
which implements the capability required to transfer aString
.SystemFlavorMap The SystemFlavorMap is a configurable map between "natives" (Strings), which correspond to platform-specific data formats, and "flavors" (DataFlavors), which correspond to platform-independent MIME types. -
Exception Summary Exception Description MimeTypeParseException A class to encapsulate MimeType parsing related exceptionsUnsupportedFlavorException Signals that the requested data is not supported in this flavor.
Package java.awt.datatransfer Description
It also provides a clipboard mechanism, which is an object that temporarily holds a transferable object that can be transferred between or within an application. The clipboard is typically used for copy and paste operations. Although it is possible to create a clipboard to use within an application, most applications will use the system clipboard to ensure the data can be transferred across applications running on the platform.
- Since:
- JDK1.1
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-java/awt/datatransfer/package-summary.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.