Package org.robolectric.shadows
Class ShadowClipboardManager
java.lang.Object
org.robolectric.shadows.ShadowClipboardManager
@Implements(android.content.ClipboardManager.class)
public class ShadowClipboardManager
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected ClipData
protected ClipDescription
protected boolean
protected boolean
hasText()
protected void
static void
reset()
protected void
setPrimaryClip
(ClipData clip) protected void
setText
(CharSequence text)
-
Constructor Details
-
ShadowClipboardManager
public ShadowClipboardManager()
-
-
Method Details
-
reset
-
clearPrimaryClip
-
getPrimaryClip
-
setPrimaryClip
-
getPrimaryClipDescription
-
hasPrimaryClip
-
addPrimaryClipChangedListener
@Implementation protected void addPrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener listener) -
removePrimaryClipChangedListener
@Implementation protected void removePrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener listener) -
setText
-
hasText
-