Package org.robolectric.shadows
Class ShadowCompoundButton
java.lang.Object
org.robolectric.shadows.ShadowView
org.robolectric.shadows.ShadowTextView
org.robolectric.shadows.ShadowCompoundButton
@Implements(android.widget.CompoundButton.class)
public class ShadowCompoundButton
extends ShadowTextView
- 
Nested Class SummaryNested classes/interfaces inherited from class org.robolectric.shadows.ShadowViewShadowView.WindowIdHelper
- 
Field SummaryFields inherited from class org.robolectric.shadows.ShadowTextViewselectionEnd, selectionStartFields inherited from class org.robolectric.shadows.ShadowViewattributeSet, realView, scrollToCoordinates, viewReflector
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintprotected voidsetButtonDrawable(int buttonDrawableId) protected voidsetButtonDrawable(Drawable buttonDrawable) Methods inherited from class org.robolectric.shadows.ShadowTextViewaddTextChangedListener, dumpAttributes, getCompoundDrawablesWithIntrinsicBoundsBottom, getCompoundDrawablesWithIntrinsicBoundsLeft, getCompoundDrawablesWithIntrinsicBoundsRight, getCompoundDrawablesWithIntrinsicBoundsTop, getOnEditorActionListener, getPreviousKeyCode, getPreviousKeyEvent, getTextAppearanceId, getTextServicesLocale, getWatchers, innerText, onKeyDown, onKeyUp, removeTextChangedListener, setCompoundDrawablesWithIntrinsicBounds, setOnEditorActionListener, setTextAppearanceMethods inherited from class org.robolectric.shadows.ShadowView__constructor__, addGlobalPerformClickListener, addGlobalPerformLongClickListener, addOnAttachStateChangeListener, addOnLayoutChangeListener, callOnAttachedToWindow, callOnDetachedFromWindow, checkedPerformClick, clearAnimation, clearAnimations, clearWasInvalidated, clickOn, didRequestLayout, draw, dump, dump, dump, dumpAttribute, dumpFirstPart, dumpIndent, getAnimations, getGlobalVisibleRect, getLastTouchEvent, getLayerType, getOnAttachStateChangeListeners, getOnClickListener, getOnCreateContextMenuListener, getOnLayoutChangeListeners, getOnLongClickListener, getOnSystemUiVisibilityChangeListener, getOnTouchListener, getScrollX, getScrollY, getSourceLayoutResId, getWindowDisplayFrame, getWindowId, getWindowVisibleDisplayFrame, innerText, invalidate, isAttachedToWindow, lastHapticFeedbackPerformed, onLayout, onLayoutWasCalled, onTouchEvent, performClick, performHapticFeedback, performLongClick, post, postDelayed, postInvalidateDelayed, removeCallbacks, removeGlobalPerformClickListener, removeGlobalPerformLongClickListener, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, requestLayout, reset, scrollBy, scrollTo, setAnimation, setDidRequestLayout, setGlobalVisibleRect, setLayerType, setMyParent, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setScrollX, setScrollY, setUseRealViewAnimations, setViewFocus, useRealGraphics, visualize, wasInvalidated
- 
Constructor Details- 
ShadowCompoundButtonpublic ShadowCompoundButton()
 
- 
- 
Method Details- 
setButtonDrawable
- 
setButtonDrawable
- 
getButtonDrawableIdpublic int getButtonDrawableId()
- 
getButtonDrawable
 
-