[−]Struct jni_android_sys::android::widget::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, DatePicker>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, DatePicker>, Local<'env, Throwable>>
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]
__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>>
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]
__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>>
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]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env DatePicker_OnDateChangedListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-DatePicker_OnDateChangedListener"
pub fn setOnDateChangedListener<'env>(
&'env self,
arg0: impl Into<Option<&'env DatePicker_OnDateChangedListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DatePicker_OnDateChangedListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-DatePicker_OnDateChangedListener"
pub fn updateDate<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn setEnabled<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn setFirstDayOfWeek<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getFirstDayOfWeek<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getCalendarViewShown<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getCalendarView<'env>(
&'env self
) -> Result<Option<Local<'env, CalendarView>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CalendarView>>, Local<'env, Throwable>>
Required features: "android-widget-CalendarView"
pub fn setCalendarViewShown<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getSpinnersShown<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setSpinnersShown<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn dispatchProvideAutofillStructure<'env>(
&'env self,
arg0: impl Into<Option<&'env ViewStructure>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ViewStructure>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
dispatchProvideAutofillStructure
Required features: "android-view-ViewStructure"
pub fn autofill<'env>(
&'env self,
arg0: impl Into<Option<&'env AutofillValue>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AutofillValue>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, AutofillValue>>, Local<'env, Throwable>>
Required features: "android-view-autofill-AutofillValue"
Methods from Deref<Target = FrameLayout>
pub fn setForegroundGravity<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setMeasureAllChildren<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getConsiderGoneChildrenWhenMeasuring<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getMeasureAllChildren<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn generateLayoutParams_AttributeSet<'env>(
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, FrameLayout_LayoutParams>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, FrameLayout_LayoutParams>>, Local<'env, Throwable>>
Required features: "android-util-AttributeSet", "android-widget-FrameLayout_LayoutParams"
pub fn shouldDelayChildPressedState<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getAccessibilityClassName<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
Trait Implementations
impl AsJValue for DatePicker
impl AsValidJObjectAndEnv for DatePicker
impl Deref for DatePicker
impl JniType for DatePicker
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for DatePicker
impl !Send for DatePicker
impl !Sync for DatePicker
impl Unpin for DatePicker
impl UnwindSafe for DatePicker
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,