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 and 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 and Description |
---|---|
void |
StringSelection.lostOwnership(Clipboard clipboard,
Transferable contents) |
void |
ClipboardOwner.lostOwnership(Clipboard clipboard,
Transferable contents)
Notifies this object that it is no longer the clipboard owner.
|
Constructor and Description |
---|
FlavorEvent(Clipboard source)
Constructs a
FlavorEvent object. |
Modifier and Type | Method and 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, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.