[−]Struct jni_android_sys::android::widget::RadioGroup
public class RadioGroup
Required feature: "android-widget-RadioGroup"
Methods
impl RadioGroup
pub fn new_Context<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, RadioGroup>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, RadioGroup>, 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, RadioGroup>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, RadioGroup>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn setOnHierarchyChangeListener<'env>(
&'env self,
arg0: impl Into<Option<&'env ViewGroup_OnHierarchyChangeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ViewGroup_OnHierarchyChangeListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-ViewGroup_OnHierarchyChangeListener"
pub fn addView<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"
pub fn check<'env>(&'env self, arg0: i32) -> Result<(), Local<'env, Throwable>>
[src]
pub fn getCheckedRadioButtonId<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn clearCheck<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn setOnCheckedChangeListener<'env>(
&'env self,
arg0: impl Into<Option<&'env RadioGroup_OnCheckedChangeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env RadioGroup_OnCheckedChangeListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-RadioGroup_OnCheckedChangeListener"
pub fn generateLayoutParams_AttributeSet<'env>(
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, RadioGroup_LayoutParams>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, RadioGroup_LayoutParams>>, Local<'env, Throwable>>
Required features: "android-util-AttributeSet", "android-widget-RadioGroup_LayoutParams"
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 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"
Methods from Deref<Target = LinearLayout>
pub fn setShowDividers<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn shouldDelayChildPressedState<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn setDividerDrawable<'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 setDividerPadding<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getDividerPadding<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn isBaselineAligned<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setBaselineAligned<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn isMeasureWithLargestChildEnabled<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setMeasureWithLargestChildEnabled<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getBaseline<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getBaselineAlignedChildIndex<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setBaselineAlignedChildIndex<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
pub fn onRtlPropertiesChanged<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setOrientation<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setVerticalGravity<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn generateLayoutParams_AttributeSet<'env>(
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, LinearLayout_LayoutParams>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, LinearLayout_LayoutParams>>, Local<'env, Throwable>>
Required features: "android-util-AttributeSet", "android-widget-LinearLayout_LayoutParams"
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 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 RadioGroup
impl AsValidJObjectAndEnv for RadioGroup
impl Deref for RadioGroup
impl JniType for RadioGroup
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for RadioGroup
impl !Send for RadioGroup
impl !Sync for RadioGroup
impl Unpin for RadioGroup
impl UnwindSafe for RadioGroup
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>,