软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.datatransfer |
提供用于在应用程序中的数据之间传输数据的接口和类。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
Modifier and Type | Method and Description |
---|---|
abstract Clipboard |
Toolkit.getSystemClipboard()
获取系统剪贴板的单例实例,该实例与本机平台提供的剪贴板设备接口连接的接口。
|
Clipboard |
Toolkit.getSystemSelection()
得到一
Clipboard 对象系统选择单体实例。
|
Modifier and Type | Method and Description |
---|---|
void |
ClipboardOwner.lostOwnership(Clipboard clipboard, Transferable contents)
通知该对象,它不再是剪贴板所有者。
|
void |
StringSelection.lostOwnership(Clipboard clipboard, Transferable contents) |
Constructor and Description |
---|
FlavorEvent(Clipboard source)
构建了一个
FlavorEvent 对象。
|
Modifier and Type | Method and Description |
---|---|
void |
TransferHandler.exportToClipboard(JComponent comp, Clipboard clip, int action)
导致给定组件的传输到给定的剪贴板。
|
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.