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
All Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
setPrimaryClip
@Implementation protected void setPrimaryClip(ClipData clip)
-
getPrimaryClip
@Implementation protected ClipData getPrimaryClip()
-
getPrimaryClipDescription
@Implementation protected ClipDescription getPrimaryClipDescription()
-
hasPrimaryClip
@Implementation protected boolean hasPrimaryClip()
-
addPrimaryClipChangedListener
@Implementation protected void addPrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener listener)
-
removePrimaryClipChangedListener
@Implementation protected void removePrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener listener)
-
setText
@Implementation protected void setText(CharSequence text)
-
hasText
@Implementation protected boolean hasText()
-
-