public class Clipboard
extends java.lang.Object
Constructor and Description |
---|
Clipboard()
Deprecated.
As of 3.1, the GEF Clipboard synchronizes with the system
clipboard. Multiple instances of this class should not be
created. Use
getDefault() . This method will be
removed in future releases. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getContents()
Returns the current contents of the clipboard.
|
static Clipboard |
getDefault()
Returns the default clipboard.
|
void |
setContents(java.lang.Object contents)
Sets the contents of the clipboard.
|
public Clipboard()
getDefault()
. This method will be
removed in future releases.public static Clipboard getDefault()
public java.lang.Object getContents()
public void setContents(java.lang.Object contents)
contents
- the new contentsCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.