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.


Constructor Index

 o Clipboard()
Creates a clipboard object.

Method Index

 o getContents()
Returns a String representing the current contents of the clipboard.
 o setContents(String)
Sets the current contents of the clipboard to the specified String.

Constructors

 o Clipboard
 public Clipboard()
Creates a clipboard object.

Methods

 o 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
 o 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