All Packages Class Hierarchy This Package Previous Next Index
Class com.bulletproof.gui.datatransfer.Clipboard
java.lang.Object
|
+----com.bulletproof.gui.datatransfer.Clipboard
- public class Clipboard
- extends Object
A class which implements a mechanism to transfer data using
cut/copy/paste operations.
-
Clipboard()
- Creates a clipboard object.
-
getContents()
- Returns a String representing the current contents
of the clipboard.
-
setContents(String)
- Sets the current contents of the clipboard to the specified
String.
Clipboard
public Clipboard()
- Creates a clipboard object.
setContents
public void setContents(String contents)
- Sets the current contents of the clipboard to the specified
String.
- Parameters:
- content - the String representing the clipboard content
getContents
public String getContents()
- Returns a String representing the current contents
of the clipboard. If the clipboard currently has no contents,
it returns null.
- Returns:
- the current String on the clipboard
All Packages Class Hierarchy This Package Previous Next Index