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
protected void
setPrimaryClip
(ClipData clip) protected void
setText
(CharSequence text)
-
Constructor Details
-
ShadowClipboardManager
public ShadowClipboardManager()
-
-
Method Details
-
setPrimaryClip
-
clearPrimaryClip
-
getPrimaryClip
-
getPrimaryClipDescription
-
hasPrimaryClip
-
addPrimaryClipChangedListener
@Implementation protected void addPrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener listener) -
removePrimaryClipChangedListener
@Implementation protected void removePrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener listener) -
setText
-
hasText
-