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.ShadowViewGroup
realViewGroup
-
Fields inherited from class org.robolectric.shadows.ShadowView
attributeSet, realView, scrollToCoordinates, viewReflector
-
-
Constructor Summary
Constructors Constructor Description ShadowNumberPicker()
-
Method Summary
All Methods Instance Methods Concrete Methods 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.ShadowLinearLayout
getGravity
-
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__, __constructor__, addGlobalPerformClickListener, addGlobalPerformLongClickListener, addOnAttachStateChangeListener, addOnLayoutChangeListener, callOnAttachedToWindow, callOnDetachedFromWindow, checkedPerformClick, clearAnimation, clearWasInvalidated, clickOn, didRequestLayout, draw, dump, dump, dumpAttribute, dumpAttributes, dumpFirstPart, dumpIndent, getGlobalVisibleRect, getLastTouchEvent, getLayerType, getLocationOnScreen, getOnAttachStateChangeListeners, getOnClickListener, getOnCreateContextMenuListener, getOnLayoutChangeListeners, getOnLongClickListener, getOnSystemUiVisibilityChangeListener, getOnTouchListener, getScrollX, getScrollY, getSourceLayoutResId, getWindowDisplayFrame, getWindowId, getWindowVisibleDisplayFrame, initialAwakenScrollBars, innerText, invalidate, isAttachedToWindow, lastHapticFeedbackPerformed, mapRectFromViewToScreenCoords, 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, setViewFocus, visualize, wasInvalidated
-
-
-
-
Method Detail
-
setValue
@Implementation protected void setValue(int value)
-
getValue
@Implementation protected int getValue()
-
setDisplayedValues
@Implementation protected void setDisplayedValues(String[] displayedValues)
-
getDisplayedValues
@Implementation protected String[] getDisplayedValues()
-
setMinValue
@Implementation protected void setMinValue(int minValue)
-
setMaxValue
@Implementation protected void setMaxValue(int maxValue)
-
getMinValue
@Implementation protected int getMinValue()
-
getMaxValue
@Implementation protected int getMaxValue()
-
setWrapSelectorWheel
@Implementation protected void setWrapSelectorWheel(boolean wrapSelectorWheel)
-
getWrapSelectorWheel
@Implementation protected boolean getWrapSelectorWheel()
-
setOnValueChangedListener
@Implementation protected void setOnValueChangedListener(NumberPicker.OnValueChangeListener listener)
-
getOnValueChangeListener
public NumberPicker.OnValueChangeListener getOnValueChangeListener()
-
-