Package org.robolectric.shadows
Class ShadowNumberPicker
java.lang.Object
org.robolectric.shadows.ShadowView
org.robolectric.shadows.ShadowViewGroup
org.robolectric.shadows.ShadowLinearLayout
org.robolectric.shadows.ShadowNumberPicker
@Implements(android.widget.NumberPicker.class) public class ShadowNumberPicker extends ShadowLinearLayout
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowView
ShadowView.WindowIdHelper
-
Field Summary
Fields inherited from class org.robolectric.shadows.ShadowView
attributeSet, realView, scrollToCoordinates
-
Constructor Summary
Constructors Constructor Description ShadowNumberPicker()
-
Method Summary
Modifier and Type Method Description protected String[]
getDisplayedValues()
protected int
getMaxValue()
protected int
getMinValue()
NumberPicker.OnValueChangeListener
getOnValueChangeListener()
protected int
getValue()
protected boolean
getWrapSelectorWheel()
protected void
setDisplayedValues(String[] displayedValues)
protected void
setMaxValue(int maxValue)
protected void
setMinValue(int minValue)
protected void
setOnValueChangedListener(NumberPicker.OnValueChangeListener listener)
protected void
setValue(int value)
protected void
setWrapSelectorWheel(boolean wrapSelectorWheel)
Methods inherited from class org.robolectric.shadows.ShadowViewGroup
addView, dump, getDisallowInterceptTouchEvent, getInterceptedTouchEvent, innerText, onInterceptTouchEvent, removedChild, requestDisallowInterceptTouchEvent
Methods inherited from class org.robolectric.shadows.ShadowView
__constructor__, addGlobalPerformClickListener, addGlobalPerformLongClickListener, addOnAttachStateChangeListener, callOnAttachedToWindow, callOnDetachedFromWindow, checkedPerformClick, clearAnimation, clearWasInvalidated, clickOn, didRequestLayout, draw, dump, dump, dumpAttribute, dumpAttributes, dumpFirstPart, dumpIndent, getGlobalVisibleRect, getLastTouchEvent, getLayerType, getOnAttachStateChangeListeners, getOnClickListener, getOnCreateContextMenuListener, getOnLongClickListener, getOnSystemUiVisibilityChangeListener, getOnTouchListener, getScrollX, getScrollY, getWindowDisplayFrame, getWindowId, getWindowVisibleDisplayFrame, innerText, invalidate, isAttachedToWindow, lastHapticFeedbackPerformed, onLayout, onLayoutWasCalled, onTouchEvent, performClick, performHapticFeedback, performLongClick, post, postDelayed, postInvalidateDelayed, removeCallbacks, removeGlobalPerformClickListener, removeGlobalPerformLongClickListener, removeOnAttachStateChangeListener, requestLayout, reset, scrollBy, scrollTo, setAnimation, setDidRequestLayout, setGlobalVisibleRect, setLayerType, setMyParent, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setScrollX, setScrollY, setViewFocus, visualize, wasInvalidated
-
Constructor Details
-
ShadowNumberPicker
public ShadowNumberPicker()
-
-
Method Details
-
setValue
-
getValue
-
setDisplayedValues
-
getDisplayedValues
-
setMinValue
-
setMaxValue
-
getMinValue
-
getMaxValue
-
setWrapSelectorWheel
-
getWrapSelectorWheel
-
setOnValueChangedListener
@Implementation protected void setOnValueChangedListener(NumberPicker.OnValueChangeListener listener) -
getOnValueChangeListener
-