[]Struct jni_android_sys::android::widget::TwoLineListItem

#[repr(transparent)]
pub struct TwoLineListItem(_);
Deprecated

public class TwoLineListItem

Required feature: "android-widget-TwoLineListItem"

Methods

impl TwoLineListItem

pub fn new_Context<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, TwoLineListItem>, Local<'env, Throwable>>
[src]

TwoLineListItem

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, TwoLineListItem>, Local<'env, Throwable>>
[src]

TwoLineListItem

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, TwoLineListItem>, Local<'env, Throwable>>
[src]

TwoLineListItem

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, TwoLineListItem>, Local<'env, Throwable>>
[src]

TwoLineListItem

Required features: "android-content-Context", "android-util-AttributeSet"

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

getText1

Required features: "android-widget-TextView"

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

getText2

Required features: "android-widget-TextView"

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

Methods from Deref<Target = RelativeLayout>

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

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

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

pub fn setGravity<'env>(
    &'env self,
    arg0: i32
) -> Result<(), 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 getBaseline<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

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

generateLayoutParams

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

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

pub const ABOVE: i32[src]

pub const ALIGN_BASELINE: i32[src]

pub const ALIGN_BOTTOM: i32[src]

pub const ALIGN_END: i32[src]

pub const ALIGN_LEFT: i32[src]

pub const ALIGN_PARENT_BOTTOM: i32[src]

pub const ALIGN_PARENT_END: i32[src]

pub const ALIGN_PARENT_LEFT: i32[src]

pub const ALIGN_PARENT_RIGHT: i32[src]

pub const ALIGN_PARENT_START: i32[src]

pub const ALIGN_PARENT_TOP: i32[src]

pub const ALIGN_RIGHT: i32[src]

pub const ALIGN_START: i32[src]

pub const ALIGN_TOP: i32[src]

pub const BELOW: i32[src]

pub const CENTER_HORIZONTAL: i32[src]

pub const CENTER_IN_PARENT: i32[src]

pub const CENTER_VERTICAL: i32[src]

pub const END_OF: i32[src]

pub const LEFT_OF: i32[src]

pub const RIGHT_OF: i32[src]

pub const START_OF: i32[src]

pub const TRUE: i32[src]

Trait Implementations

impl AsJValue for TwoLineListItem

impl AsValidJObjectAndEnv for TwoLineListItem

impl Deref for TwoLineListItem

type Target = RelativeLayout

The resulting type after dereferencing.

impl JniType for TwoLineListItem

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.