[−]Struct jni_android_sys::android::widget::RadioButton
public class RadioButton
Required feature: "android-widget-RadioButton"
Methods
impl RadioButton
pub fn new_Context<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, RadioButton>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, RadioButton>, 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, RadioButton>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, RadioButton>, 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, RadioButton>, 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, RadioButton>, 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, RadioButton>, 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, RadioButton>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn toggle<'env>(&'env self) -> Result<(), 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"
Methods from Deref<Target = CompoundButton>
pub fn toggle<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn performClick<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isChecked<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setChecked<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setOnCheckedChangeListener<'env>(
&'env self,
arg0: impl Into<Option<&'env CompoundButton_OnCheckedChangeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CompoundButton_OnCheckedChangeListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-CompoundButton_OnCheckedChangeListener"
pub fn setButtonDrawable_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setButtonDrawable_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 getButtonDrawable<'env>(
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn setButtonTintList<'env>(
&'env self,
arg0: impl Into<Option<&'env ColorStateList>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ColorStateList>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-res-ColorStateList"
pub fn getButtonTintList<'env>(
&'env self
) -> Result<Option<Local<'env, ColorStateList>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ColorStateList>>, Local<'env, Throwable>>
Required features: "android-content-res-ColorStateList"
pub fn setButtonTintMode<'env>(
&'env self,
arg0: impl Into<Option<&'env PorterDuff_Mode>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PorterDuff_Mode>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-PorterDuff_Mode"
pub fn getButtonTintMode<'env>(
&'env self
) -> Result<Option<Local<'env, PorterDuff_Mode>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PorterDuff_Mode>>, Local<'env, Throwable>>
Required features: "android-graphics-PorterDuff_Mode"
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 getCompoundPaddingLeft<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getCompoundPaddingRight<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn drawableHotspotChanged<'env>(
&'env self,
arg0: f32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
pub fn jumpDrawablesToCurrentState<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn onSaveInstanceState<'env>(
&'env self
) -> Result<Option<Local<'env, Parcelable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Parcelable>>, Local<'env, Throwable>>
Required features: "android-os-Parcelable"
pub fn onRestoreInstanceState<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcelable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Parcelable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcelable"
pub fn onProvideAutofillStructure<'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>>
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"
Trait Implementations
impl AsJValue for RadioButton
impl AsValidJObjectAndEnv for RadioButton
impl Deref for RadioButton
type Target = CompoundButton
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for RadioButton
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for RadioButton
impl !Send for RadioButton
impl !Sync for RadioButton
impl Unpin for RadioButton
impl UnwindSafe for RadioButton
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>,