[]Struct jni_android_sys::android::widget::NumberPicker

#[repr(transparent)]
pub struct NumberPicker(_);

public class NumberPicker

Required feature: "android-widget-NumberPicker"

Methods

impl NumberPicker

pub fn new_Context<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, NumberPicker>, Local<'env, Throwable>>
[src]

NumberPicker

Required features: "android-content-Context"

pub fn new_Context_AttributeSet<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, NumberPicker>, Local<'env, Throwable>>
[src]

NumberPicker

Required features: "android-content-Context", "android-util-AttributeSet"

pub fn new_Context_AttributeSet_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env AttributeSet>>,
    arg2: i32
) -> Result<Local<'env, NumberPicker>, Local<'env, Throwable>>
[src]

NumberPicker

Required features: "android-content-Context", "android-util-AttributeSet"

pub fn new_Context_AttributeSet_int_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env AttributeSet>>,
    arg2: i32,
    arg3: i32
) -> Result<Local<'env, NumberPicker>, Local<'env, Throwable>>
[src]

NumberPicker

Required features: "android-content-Context", "android-util-AttributeSet"

pub fn onInterceptTouchEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onInterceptTouchEvent

Required features: "android-view-MotionEvent"

pub fn onTouchEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onTouchEvent

Required features: "android-view-MotionEvent"

pub fn dispatchTouchEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

dispatchTouchEvent

Required features: "android-view-MotionEvent"

pub fn dispatchKeyEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

dispatchKeyEvent

Required features: "android-view-KeyEvent"

pub fn dispatchTrackballEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

dispatchTrackballEvent

Required features: "android-view-MotionEvent"

pub fn computeScroll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn setEnabled<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn scrollBy<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getSolidColor<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setOnValueChangedListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env NumberPicker_OnValueChangeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

setOnValueChangedListener

Required features: "android-widget-NumberPicker_OnValueChangeListener"

pub fn setOnScrollListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env NumberPicker_OnScrollListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

setOnScrollListener

Required features: "android-widget-NumberPicker_OnScrollListener"

pub fn setFormatter<'env>(
    &'env self,
    arg0: impl Into<Option<&'env NumberPicker_Formatter>>
) -> Result<(), Local<'env, Throwable>>
[src]

setFormatter

Required features: "android-widget-NumberPicker_Formatter"

pub fn setValue<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn performClick<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn performLongClick<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn getWrapSelectorWheel<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setWrapSelectorWheel<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setOnLongPressUpdateInterval<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getValue<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getMinValue<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setMinValue<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getMaxValue<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setMaxValue<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getDisplayedValues<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]

getDisplayedValues

Required features: "java-lang-String"

pub fn setDisplayedValues<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

setDisplayedValues

Required features: "java-lang-String"

pub fn jumpDrawablesToCurrentState<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getAccessibilityNodeProvider<'env>(
    &'env self
) -> Result<Option<Local<'env, AccessibilityNodeProvider>>, Local<'env, Throwable>>
[src]

getAccessibilityNodeProvider

Required features: "android-view-accessibility-AccessibilityNodeProvider"

Methods from Deref<Target = LinearLayout>

pub fn setShowDividers<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn shouldDelayChildPressedState<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn getShowDividers<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getDividerDrawable<'env>(
    &'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]

getDividerDrawable

Required features: "android-graphics-drawable-Drawable"

pub fn setDividerDrawable<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
[src]

setDividerDrawable

Required features: "android-graphics-drawable-Drawable"

pub fn setDividerPadding<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getDividerPadding<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn isBaselineAligned<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setBaselineAligned<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn isMeasureWithLargestChildEnabled<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setMeasureWithLargestChildEnabled<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getBaseline<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getBaselineAlignedChildIndex<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn setBaselineAlignedChildIndex<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getWeightSum<'env>(&'env self) -> Result<f32, Local<'env, Throwable>>[src]

pub fn setWeightSum<'env>(
    &'env self,
    arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn onRtlPropertiesChanged<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setOrientation<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getOrientation<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setGravity<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getGravity<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setHorizontalGravity<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setVerticalGravity<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn generateLayoutParams_AttributeSet<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, LinearLayout_LayoutParams>>, Local<'env, Throwable>>
[src]

generateLayoutParams

Required features: "android-util-AttributeSet", "android-widget-LinearLayout_LayoutParams"

pub fn getAccessibilityClassName<'env>(
    &'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getAccessibilityClassName

Required features: "java-lang-CharSequence"

pub const HORIZONTAL: i32[src]

pub const SHOW_DIVIDER_BEGINNING: i32[src]

pub const SHOW_DIVIDER_END: i32[src]

pub const SHOW_DIVIDER_MIDDLE: i32[src]

pub const SHOW_DIVIDER_NONE: i32[src]

pub const VERTICAL: i32[src]

Trait Implementations

impl AsJValue for NumberPicker

impl AsValidJObjectAndEnv for NumberPicker

impl Deref for NumberPicker

type Target = LinearLayout

The resulting type after dereferencing.

impl JniType for NumberPicker

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.