[]Struct jni_android_sys::android::widget::RadioGroup

#[repr(transparent)]
pub struct 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]

RadioGroup

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]

RadioGroup

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]

setOnHierarchyChangeListener

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]

addView

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]

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]

setOnCheckedChangeListener

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]

generateLayoutParams

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

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

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

onProvideAutofillStructure

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 = LinearLayout>

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

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

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]

getDividerDrawable

Required features: "android-graphics-drawable-Drawable"

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

setDividerDrawable

Required features: "android-graphics-drawable-Drawable"

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

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

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

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

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

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

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

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

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

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]

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

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

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]

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]

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

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

generateLayoutParams

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

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

getAccessibilityClassName

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

type Target = LinearLayout

The resulting type after dereferencing.

impl JniType for RadioGroup

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.