public final class TextTransfer
extends java.lang.Object
implements java.awt.datatransfer.ClipboardOwner
Constructor and Description |
---|
TextTransfer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClipboardContents()
Get the String residing on the clipboard.
|
void |
lostOwnership(java.awt.datatransfer.Clipboard aClipboard,
java.awt.datatransfer.Transferable aContents)
Empty implementation of the ClipboardOwner interface.
|
static void |
main(java.lang.String... aArguments) |
void |
setClipboardContents(java.lang.String aString)
Place a String on the clipboard, and make this class the
owner of the Clipboard's contents.
|
public static void main(java.lang.String... aArguments)
public void lostOwnership(java.awt.datatransfer.Clipboard aClipboard, java.awt.datatransfer.Transferable aContents)
lostOwnership
in interface java.awt.datatransfer.ClipboardOwner
public void setClipboardContents(java.lang.String aString)
public java.lang.String getClipboardContents()