|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.nokia.mid.ui.Clipboard
public abstract class Clipboard
Class to provide extra functionality that is related to text-editing
Constructor Summary | |
---|---|
Clipboard()
|
Method Summary | |
---|---|
static java.lang.String |
copyFromClipboard()
Copies characters from the system clipboard. |
static void |
copyToClipboard(java.lang.String text)
Copies characters into the system clipboard. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Clipboard()
Method Detail |
---|
public static void copyToClipboard(java.lang.String text)
If text
parameter is null
or empty string,
it clears the system clipboard.
text
- the text to be copiedpublic static java.lang.String copyFromClipboard()
Returns empty string when there is nothing in the system clipboard.
This method is not supported on S40 platform, returns null
.
|
forum.nokia.com/java | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |