[−]Struct jni_android_sys::android::app::DatePickerDialog
public class DatePickerDialog
Required feature: "android-app-DatePickerDialog"
Methods
impl DatePickerDialog
pub fn new_Context<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, DatePickerDialog>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, DatePickerDialog>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn new_Context_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<Local<'env, DatePickerDialog>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<Local<'env, DatePickerDialog>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn new_Context_OnDateSetListener_int_int_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env DatePickerDialog_OnDateSetListener>>,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<Local<'env, DatePickerDialog>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env DatePickerDialog_OnDateSetListener>>,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<Local<'env, DatePickerDialog>, Local<'env, Throwable>>
Required features: "android-app-DatePickerDialog_OnDateSetListener", "android-content-Context"
pub fn new_Context_int_OnDateSetListener_int_int_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env DatePickerDialog_OnDateSetListener>>,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<Local<'env, DatePickerDialog>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env DatePickerDialog_OnDateSetListener>>,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<Local<'env, DatePickerDialog>, Local<'env, Throwable>>
Required features: "android-app-DatePickerDialog_OnDateSetListener", "android-content-Context"
pub fn onDateChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env DatePicker>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DatePicker>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-DatePicker"
pub fn setOnDateSetListener<'env>(
&'env self,
arg0: impl Into<Option<&'env DatePickerDialog_OnDateSetListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DatePickerDialog_OnDateSetListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-DatePickerDialog_OnDateSetListener"
pub fn onClick<'env>(
&'env self,
arg0: impl Into<Option<&'env DialogInterface>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DialogInterface>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-DialogInterface"
pub fn getDatePicker<'env>(
&'env self
) -> Result<Option<Local<'env, DatePicker>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, DatePicker>>, Local<'env, Throwable>>
Required features: "android-widget-DatePicker"
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 onSaveInstanceState<'env>(
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn onRestoreInstanceState<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle"
Methods from Deref<Target = AlertDialog>
pub fn getButton<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Button>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Button>>, Local<'env, Throwable>>
Required features: "android-widget-Button"
pub fn getListView<'env>(
&'env self
) -> Result<Option<Local<'env, ListView>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ListView>>, Local<'env, Throwable>>
Required features: "android-widget-ListView"
pub fn setTitle<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn setCustomTitle<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn setMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn setView_View<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn setView_View_int_int_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn setButton_int_CharSequence_Message<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env CharSequence>>,
arg2: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env CharSequence>>,
arg2: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Message", "java-lang-CharSequence"
pub fn setButton_int_CharSequence_OnClickListener<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env CharSequence>>,
arg2: impl Into<Option<&'env DialogInterface_OnClickListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env CharSequence>>,
arg2: impl Into<Option<&'env DialogInterface_OnClickListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-DialogInterface_OnClickListener", "java-lang-CharSequence"
pub fn setButton_CharSequence_Message<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Message", "java-lang-CharSequence"
pub fn setButton2_CharSequence_Message<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Message", "java-lang-CharSequence"
pub fn setButton3_CharSequence_Message<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Message", "java-lang-CharSequence"
pub fn setButton_CharSequence_OnClickListener<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env DialogInterface_OnClickListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env DialogInterface_OnClickListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-DialogInterface_OnClickListener", "java-lang-CharSequence"
pub fn setButton2_CharSequence_OnClickListener<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env DialogInterface_OnClickListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env DialogInterface_OnClickListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-DialogInterface_OnClickListener", "java-lang-CharSequence"
pub fn setButton3_CharSequence_OnClickListener<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env DialogInterface_OnClickListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env DialogInterface_OnClickListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-DialogInterface_OnClickListener", "java-lang-CharSequence"
pub fn setIcon_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setIcon_Drawable<'env>(
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn setIconAttribute<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setInverseBackgroundForced<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn onKeyDown<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn onKeyUp<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub const THEME_DEVICE_DEFAULT_DARK: i32
[src]
pub const THEME_DEVICE_DEFAULT_LIGHT: i32
[src]
pub const THEME_HOLO_DARK: i32
[src]
pub const THEME_HOLO_LIGHT: i32
[src]
pub const THEME_TRADITIONAL: i32
[src]
Trait Implementations
impl AsJValue for DatePickerDialog
impl AsRef<DatePicker_OnDateChangedListener> for DatePickerDialog
fn as_ref(&self) -> &DatePicker_OnDateChangedListener
impl AsRef<DialogInterface_OnClickListener> for DatePickerDialog
fn as_ref(&self) -> &DialogInterface_OnClickListener
impl AsValidJObjectAndEnv for DatePickerDialog
impl Deref for DatePickerDialog
impl JniType for DatePickerDialog
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for DatePickerDialog
impl !Send for DatePickerDialog
impl !Sync for DatePickerDialog
impl Unpin for DatePickerDialog
impl UnwindSafe for DatePickerDialog
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>,