public class GClip
extends java.lang.Object
implements java.awt.datatransfer.ClipboardOwner
Modifier and Type | Method and Description |
---|---|
static boolean |
copy(java.lang.String chars)
Copy a string to the clipboard
|
void |
lostOwnership(java.awt.datatransfer.Clipboard clipboard,
java.awt.datatransfer.Transferable contents)
Reqd by ClipboardOwner interface
|
static java.lang.String |
paste()
Get a string from the clipboard
|
public static boolean copy(java.lang.String chars)
chars
- public static java.lang.String paste()
public void lostOwnership(java.awt.datatransfer.Clipboard clipboard, java.awt.datatransfer.Transferable contents)
lostOwnership
in interface java.awt.datatransfer.ClipboardOwner
Processing library G4P by Peter Lager. (c) 2017