StringSelection
public interface ClipboardOwner
Clipboard.setContents(java.awt.datatransfer.Transferable, java.awt.datatransfer.ClipboardOwner)
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.Modifier and Type | Method | Description |
---|---|---|
void |
lostOwnership |
Notifies this object that it is no longer the clipboard owner. |
void lostOwnership(Clipboard clipboard, Transferable contents)
clipboard
- the clipboard that is no longer ownedcontents
- the contents which this owner had placed on the clipboard
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.datatransfer/java/awt/datatransfer/ClipboardOwner.html