Example usage for Java android.widget NumberPicker fields, constructors, methods, implement or subclass
The text is from its open source code.
NumberPicker(Context context) Create a new number picker. |
void | clearFocus() |
Drawable | getCurrent() |
int | getId() Returns this view's identifier. |
ViewGroup.LayoutParams | getLayoutParams() Get the LayoutParams associated with this view. |
int | getMaxValue() Returns the max value of the picker. |
int | getMinValue() Returns the min value of the picker. |
char | getNumber() Gets the number or symbol associated with the key. |
int | getValue() Returns the value of the picker. |
void | invalidate() Invalidate the whole view. |
void | setDescendantFocusability(int focusability) Set the descendant focusability of this view group. |
void | setDisplayedValues(String[] displayedValues) Sets the values to be displayed. |
void | setFormatter(Formatter formatter) Set the formatter to be used for formatting the current value. |
void | setLayoutParams(ViewGroup.LayoutParams params) Set the layout parameters associated with this view. |
void | setMaxValue(int maxValue) Sets the max value of the picker. |
void | setMinValue(int minValue) Sets the min value of the picker. |
void | setOnScrollListener(OnScrollListener onScrollListener) Set listener to be notified for scroll state changes. |
void | setOnValueChangedListener(OnValueChangeListener onValueChangedListener) Sets the listener to be notified on change of the current value. |
void | setValue(int value) Set the current value for the number picker. |
void | setVisibility(@Visibility int visibility) Set the visibility state of this view. |
void | setWrapSelectorWheel(boolean wrapSelectorWheel) Sets whether the selector wheel shown during flinging/scrolling should wrap around the NumberPicker#getMinValue() and NumberPicker#getMaxValue() values. |