ClipboardOwner
Name
ClipboardOwner
Description
ClipboardOwner
is implemented by classes that want to be notified when someone else sets the contents of a clipboard.
Interface Definition
public abstract interface java.awt.datatransfer.ClipboardOwner { // Interface Methods public abstract void lostOwnership (Clipboard clipboard, Transferable contents); }
Interface Methods
lostOwnership
public abstract void lostOwnership (Clipboard clipboard, Transferable contents)
- Parameters
-
- clipboard
- The clipboard whose contents have changed.
- contents
- The contents that this owner originally put on the clipboard.
- Description
- Tells the
ClipboardOwner
that thecontents
it placed on the givenclipboard
are no longer there.
See Also
Clipboard, StringSelection, Transferable