public class ClipboardBox
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
makeDataURLs |
Constructor and Description |
---|
ClipboardBox()
Creates a new instance of ClipboardBox
|
Modifier and Type | Method and Description |
---|---|
static void |
copy(java.awt.Component c)
Copies the selected text of the specified text component.
|
static void |
cut(java.awt.Component c)
Cuts the selected text of the specified text component.
|
static java.lang.String |
getClipboard()
Returns the contents of the clipboard if it contains a string.
|
static void |
paste(java.awt.Component c)
Pastes contents of the clipboard in the specified text component.
|
static void |
setClipboard(java.awt.Image image)
Sets the contents of the clipboard.
|
static void |
setClipboard(java.lang.Object o)
Sets the contents of the clipboard.
|
static void |
setClipboard(java.lang.String str)
Sets the contents of the clipboard.
|
public static void copy(java.awt.Component c)
public static void cut(java.awt.Component c)
public static void paste(java.awt.Component c)
public static java.lang.String getClipboard()
public static void setClipboard(java.lang.String str)
public static void setClipboard(java.lang.Object o)
public static void setClipboard(java.awt.Image image)
Copyright 2004-2015 Wandora Team