Package java.awt.datatransfer

Provides interfaces and classes for transferring data between and within applications.

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 for FlavorEvents.
    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
    A DataFlavor provides meta information about data.
    FlavorEvent
    FlavorEvent is used to notify interested parties that available DataFlavors have changed in the Clipboard (the event source).
    StringSelection
    A Transferable which implements the capability required to transfer a String.
    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 exceptions
    UnsupportedFlavorException
    Signals that the requested data is not supported in this flavor.

      

Package java.awt.datatransfer Description

Provides interfaces and classes for transferring data between and within applications. It defines the notion of a "transferable" object, which is an object capable of being transferred between or within applications. An object identifies itself as being transferable by implementing the Transferable interface.

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

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Document créé le 30/10/2006, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-java/awt/datatransfer/package-summary.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, java.awt.datatransfer

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut