public interface ClipboardOwner
Clipboard.setContents(java.awt.datatransfer.Transferable, java.awt.datatransfer.ClipboardOwner)
方法,则此接口的实例将成为剪贴板(剪贴板所有者)内容的所有者,并且此方法成功返回。
实例保留剪贴板所有者,直到另一个应用程序或此应用程序内的另一个对象声明此剪贴板的所有权。
Clipboard
Modifier and Type | Method and Description |
---|---|
void |
lostOwnership(Clipboard clipboard, Transferable contents)
通知此对象不再是剪贴板所有者。
|
void lostOwnership(Clipboard clipboard, Transferable contents)
clipboard
- 不再拥有的剪贴板
contents
- the contents which this owner had placed on the clipboard
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.