软件包 | 描述 |
---|---|
java.awt.datatransfer |
提供用于在应用程序中的数据之间传输数据的接口和类。
|
Modifier and Type | Class and Description |
---|---|
class |
StringSelection
一个
Transferable 实现需要转移的能力
String 。
|
Modifier and Type | Field and Description |
---|---|
protected ClipboardOwner |
Clipboard.owner |
Modifier and Type | Method and Description |
---|---|
void |
Clipboard.setContents(Transferable contents, ClipboardOwner owner)
将剪贴板的当前内容设置为指定的可转换对象,并将指定的剪贴板所有者注册为新内容的所有者。
|
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.