[−]Struct jni_android_sys::android::view::ViewStructure
public class ViewStructure
Required feature: android-view-ViewStructure
Methods
impl ViewStructure
pub fn new<'env>(__jni_env: &'env Env) -> Result<Local<'env, ViewStructure>>[src]
pub fn set_id<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn set_dimens<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<()>
pub fn set_transformation<'env>(
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<()>
Required features: "android-graphics-Matrix"
pub fn set_elevation<'env>(&'env self, arg0: f32) -> Result<()>[src]
pub fn set_alpha<'env>(&'env self, arg0: f32) -> Result<()>[src]
pub fn set_visibility<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_enabled<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_clickable<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_long_clickable<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_context_clickable<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_focusable<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_focused<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_accessibility_focused<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_checkable<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_checked<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_selected<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_activated<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_opaque<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_class_name<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn set_content_description<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<()>
Required features: "java-lang-CharSequence"
pub fn set_text_char_sequence<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<()>
Required features: "java-lang-CharSequence"
pub fn set_text_char_sequence_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32
) -> Result<()>
Required features: "java-lang-CharSequence"
pub fn set_text_style<'env>(
&'env self,
arg0: f32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<()>
pub fn set_text_lines<'env>(
&'env self,
arg0: impl Into<Option<&'env IntArray>>,
arg1: impl Into<Option<&'env IntArray>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env IntArray>>,
arg1: impl Into<Option<&'env IntArray>>
) -> Result<()>
setTextLines
pub fn set_text_id_entry<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn set_hint<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<()>
Required features: "java-lang-CharSequence"
pub fn get_text<'env>(&'env self) -> Result<Option<Local<'env, CharSequence>>>[src]
Required features: "java-lang-CharSequence"
pub fn get_text_selection_start<'env>(&'env self) -> Result<i32>[src]
pub fn get_text_selection_end<'env>(&'env self) -> Result<i32>[src]
pub fn get_hint<'env>(&'env self) -> Result<Option<Local<'env, CharSequence>>>[src]
Required features: "java-lang-CharSequence"
pub fn get_extras<'env>(&'env self) -> Result<Option<Local<'env, Bundle>>>[src]
Required features: "android-os-Bundle"
pub fn has_extras<'env>(&'env self) -> Result<bool>[src]
pub fn set_child_count<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn add_child_count<'env>(&'env self, arg0: i32) -> Result<i32>[src]
pub fn get_child_count<'env>(&'env self) -> Result<i32>[src]
pub fn new_child<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, ViewStructure>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, ViewStructure>>>
Required features: "android-view-ViewStructure"
pub fn async_new_child<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, ViewStructure>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, ViewStructure>>>
Required features: "android-view-ViewStructure"
pub fn get_autofill_id<'env>(
&'env self
) -> Result<Option<Local<'env, AutofillId>>>[src]
&'env self
) -> Result<Option<Local<'env, AutofillId>>>
Required features: "android-view-autofill-AutofillId"
pub fn set_autofill_id_autofill_id<'env>(
&'env self,
arg0: impl Into<Option<&'env AutofillId>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env AutofillId>>
) -> Result<()>
Required features: "android-view-autofill-AutofillId"
pub fn set_autofill_id_autofill_id_int<'env>(
&'env self,
arg0: impl Into<Option<&'env AutofillId>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env AutofillId>>,
arg1: i32
) -> Result<()>
Required features: "android-view-autofill-AutofillId"
pub fn set_autofill_type<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_autofill_value<'env>(
&'env self,
arg0: impl Into<Option<&'env AutofillValue>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env AutofillValue>>
) -> Result<()>
Required features: "android-view-autofill-AutofillValue"
pub fn set_important_for_autofill<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_input_type<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_data_is_sensitive<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_min_text_ems<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_max_text_ems<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_max_text_length<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn async_commit<'env>(&'env self) -> Result<()>[src]
pub fn set_web_domain<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn set_locale_list<'env>(
&'env self,
arg0: impl Into<Option<&'env LocaleList>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env LocaleList>>
) -> Result<()>
Required features: "android-os-LocaleList"
pub fn new_html_info_builder<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ViewStructure_HtmlInfo_Builder>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ViewStructure_HtmlInfo_Builder>>>
Required features: "android-view-ViewStructure_HtmlInfo_Builder", "java-lang-String"
pub fn set_html_info<'env>(
&'env self,
arg0: impl Into<Option<&'env ViewStructure_HtmlInfo>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ViewStructure_HtmlInfo>>
) -> Result<()>
Required features: "android-view-ViewStructure_HtmlInfo"
Methods from Deref<Target = Object>
pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]
Required features: "java-lang-Class"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<()>[src]
pub fn notify_all<'env>(&'env self) -> Result<()>[src]
pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]
pub fn wait<'env>(&'env self) -> Result<()>[src]
Trait Implementations
impl Deref for ViewStructure
impl AsValidJObjectAndEnv for ViewStructure
impl AsJValue for ViewStructure
Auto Trait Implementations
impl !Sync for ViewStructure
impl Unpin for ViewStructure
impl !Send for ViewStructure
impl UnwindSafe for ViewStructure
impl RefUnwindSafe for ViewStructure
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,