JDK 11 java.datatransfer.jmod - Data Transfer Module

JDK 11 java.datatransfer.jmod is the JMOD file for JDK 11 Desktop module.

JDK 11 Data Transfer module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.datatransfer.jmod.

JDK 11 Data Transfer module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.

JDK 11 Data Transfer module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.datatransfer.

You can click and view the content of each source code file in the list below.

✍: FYIcenter

java/awt/datatransfer/ClipboardOwner.java

/*
 * Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

package java.awt.datatransfer;

/**
 * Defines the interface for classes that will provide data to a clipboard. An
 * instance of this interface becomes the owner of the contents of a clipboard
 * (clipboard owner) if it is passed as an argument to
 * {@link Clipboard#setContents} method of the clipboard and this method returns
 * successfully. The instance remains the clipboard owner until another
 * application or another object within this application asserts ownership of
 * this clipboard.
 *
 * @author Amy Fowler
 * @see Clipboard
 * @since 1.1
 */
public interface ClipboardOwner {

    /**
     * Notifies this object that it is no longer the clipboard owner. This
     * method will be called when another application or another object within
     * this application asserts ownership of the clipboard.
     *
     * @param  clipboard the clipboard that is no longer owned
     * @param  contents the contents which this owner had placed on the
     *         {@code clipboard}
     */
    public void lostOwnership(Clipboard clipboard, Transferable contents);
}

java/awt/datatransfer/ClipboardOwner.java

 

JDK 11 java.desktop.jmod - Desktop Module

JDK 11 java.compiler.jmod - Compiler Module

Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2020-05-29, 1897👍, 0💬