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
Constructors Constructor Description ShadowClipboardManager()
-
Method Summary
Modifier and Type Method Description protected void
addPrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener listener)
protected ClipData
getPrimaryClip()
protected ClipDescription
getPrimaryClipDescription()
protected boolean
hasPrimaryClip()
protected boolean
hasText()
protected void
removePrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener listener)
protected void
setPrimaryClip(ClipData clip)
protected void
setText(CharSequence text)
-
Constructor Details
-
ShadowClipboardManager
public ShadowClipboardManager()
-
-
Method Details
-
setPrimaryClip
-
getPrimaryClip
-
getPrimaryClipDescription
-
hasPrimaryClip
-
addPrimaryClipChangedListener
@Implementation protected void addPrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener listener) -
removePrimaryClipChangedListener
@Implementation protected void removePrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener listener) -
setText
-
hasText
-