[]Struct jni_android_sys::android::widget::DatePicker

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

public class DatePicker

Required feature: "android-widget-DatePicker"

Methods

impl DatePicker

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

DatePicker

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, DatePicker>, Local<'env, Throwable>>
[src]

DatePicker

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, DatePicker>, Local<'env, Throwable>>
[src]

DatePicker

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, DatePicker>, Local<'env, Throwable>>
[src]

DatePicker

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

pub fn init<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: impl Into<Option<&'env DatePicker_OnDateChangedListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

init

Required features: "android-widget-DatePicker_OnDateChangedListener"

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

setOnDateChangedListener

Required features: "android-widget-DatePicker_OnDateChangedListener"

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

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

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

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

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

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

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

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

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

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

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

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

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

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

Deprecated

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

Deprecated

getCalendarView

Required features: "android-widget-CalendarView"

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

Deprecated

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

Deprecated

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

Deprecated

pub fn dispatchProvideAutofillStructure<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ViewStructure>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

dispatchProvideAutofillStructure

Required features: "android-view-ViewStructure"

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

autofill

Required features: "android-view-autofill-AutofillValue"

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

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

getAutofillValue

Required features: "android-view-autofill-AutofillValue"

Methods from Deref<Target = FrameLayout>

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

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

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

Deprecated

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

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

generateLayoutParams

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

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

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

Trait Implementations

impl AsJValue for DatePicker

impl AsValidJObjectAndEnv for DatePicker

impl Deref for DatePicker

type Target = FrameLayout

The resulting type after dereferencing.

impl JniType for DatePicker

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.