IT. Expert System.

Java Standard Edition (SE)

DropTargetContext.TransferableProxy


java.awt.dnd

Class DropTargetContext.TransferableProxy

  • All Implemented Interfaces:
    Transferable
    Enclosing class:
    DropTargetContext


    protected class DropTargetContext.TransferableProxy
    extends Object
    implements Transferable
    TransferableProxy is a helper inner class that implements Transferable interface and serves as a proxy for another Transferable object which represents data transfer for a particular drag-n-drop operation.

    The proxy forwards all requests to the encapsulated transferable and automatically performs additional conversion on the data returned by the encapsulated transferable in case of local transfer.

    • Field Detail

      • transferable

        protected Transferable transferable
        The encapsulated Transferable object.
      • isLocal

        protected boolean isLocal
        A boolean indicating if the encapsulated Transferable object represents the result of local drag-n-drop operation (within the same JVM).
    • Method Detail

      • getTransferDataFlavors

        public DataFlavor[] getTransferDataFlavors()
        Returns an array of DataFlavor objects indicating the flavors the data can be provided in by the encapsulated transferable.

        Specified by:
        getTransferDataFlavors in interface Transferable
        Returns:
        an array of data flavors in which the data can be provided by the encapsulated transferable
      • isDataFlavorSupported

        public boolean isDataFlavorSupported(DataFlavor flavor)
        Returns whether or not the specified data flavor is supported by the encapsulated transferable.
        Specified by:
        isDataFlavorSupported in interface Transferable
        Parameters:
        flavor - the requested flavor for the data
        Returns:
        true if the data flavor is supported, false otherwise


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 166 / 158797854. Delta: 0.04267 с