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