JDK 17 java.datatransfer.jmod - Data Transfer Module

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

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

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

JDK 17 Data Transfer module source code files are stored in \fyicenter\jdk-17.0.5\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

 

Or download all of them as a single archive file:

File name: java.datatransfer-17.0.5-src.zip
File size: 48890 bytes
Release date: 2022-09-13
Download 

 

JDK 17 java.desktop.jmod - Desktop Module

JDK 17 java.compiler.jmod - Compiler Module

JDK 17 JMod/Module Files

⇑⇑ FAQ for JDK (Java Development Kit) 17

2023-09-16, 1572👍, 0💬