|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.text.ClipboardManager
public class ClipboardManager
Interface to the clipboard service, for placing and retrieving text in the global clipboard.
You do not instantiate this class directly; instead, retrieve it through
Context.getSystemService(java.lang.String).
Context.getSystemService(java.lang.String)| Constructor Summary | |
|---|---|
ClipboardManager(Context context,
Handler handler)
|
|
| Method Summary | |
|---|---|
CharSequence |
getText()
Returns the text on the clipboard. |
boolean |
hasText()
Returns true if the clipboard contains text; false otherwise. |
void |
setText(CharSequence text)
Sets the contents of the clipboard to the specified text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClipboardManager(Context context,
Handler handler)
| Method Detail |
|---|
public CharSequence getText()
public void setText(CharSequence text)
public boolean hasText()
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||