Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user interfaces and for painting
graphics and images.
|
java.awt.datatransfer |
Provides interfaces and classes for transferring data between and within
applications.
|
javax.swing |
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
|
Modifier and Type | Method | Description |
---|---|---|
abstract Clipboard |
Toolkit.getSystemClipboard() |
Gets the singleton instance of the system Clipboard which interfaces
with clipboard facilities provided by the native platform.
|
Clipboard |
Toolkit.getSystemSelection() |
Gets the singleton instance of the system selection as a
Clipboard object. |
Modifier and Type | Method | Description |
---|---|---|
void |
ClipboardOwner.lostOwnership(Clipboard clipboard,
Transferable contents) |
Notifies this object that it is no longer the clipboard owner.
|
void |
StringSelection.lostOwnership(Clipboard clipboard,
Transferable contents) |
Constructor | Description |
---|---|
FlavorEvent(Clipboard source) |
Constructs a
FlavorEvent object. |
Modifier and Type | Method | Description |
---|---|---|
void |
TransferHandler.exportToClipboard(JComponent comp,
Clipboard clip,
int action) |
Causes a transfer from the given component to the
given 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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps