[−]Struct jni_android_sys::android::widget::ViewSwitcher
public class ViewSwitcher
Required feature: android-widget-ViewSwitcher
Methods
impl ViewSwitcher
pub fn new_context<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, ViewSwitcher>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, ViewSwitcher>>
Required features: "android-content-Context"
pub fn new_context_attribute_set<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, ViewSwitcher>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, ViewSwitcher>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn add_view<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<()>
Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"
pub fn get_accessibility_class_name<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>>
Required features: "java-lang-CharSequence"
pub fn get_next_view<'env>(&'env self) -> Result<Option<Local<'env, View>>>
[src]
Required features: "android-view-View"
pub fn set_factory<'env>(
&'env self,
arg0: impl Into<Option<&'env ViewSwitcher_ViewFactory>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env ViewSwitcher_ViewFactory>>
) -> Result<()>
Required features: "android-widget-ViewSwitcher_ViewFactory"
pub fn reset<'env>(&'env self) -> Result<()>
[src]
Methods from Deref<Target = ViewAnimator>
pub fn set_displayed_child<'env>(&'env self, arg0: i32) -> Result<()>
[src]
pub fn get_displayed_child<'env>(&'env self) -> Result<i32>
[src]
pub fn show_next<'env>(&'env self) -> Result<()>
[src]
pub fn show_previous<'env>(&'env self) -> Result<()>
[src]
pub fn add_view<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<()>
Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"
pub fn remove_all_views<'env>(&'env self) -> Result<()>
[src]
pub fn remove_view<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn remove_view_at<'env>(&'env self, arg0: i32) -> Result<()>
[src]
pub fn remove_view_in_layout<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn remove_views<'env>(&'env self, arg0: i32, arg1: i32) -> Result<()>
[src]
pub fn remove_views_in_layout<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
pub fn get_current_view<'env>(&'env self) -> Result<Option<Local<'env, View>>>
[src]
Required features: "android-view-View"
pub fn get_in_animation<'env>(
&'env self
) -> Result<Option<Local<'env, Animation>>>
[src]
&'env self
) -> Result<Option<Local<'env, Animation>>>
Required features: "android-view-animation-Animation"
pub fn set_in_animation_animation<'env>(
&'env self,
arg0: impl Into<Option<&'env Animation>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env Animation>>
) -> Result<()>
Required features: "android-view-animation-Animation"
pub fn get_out_animation<'env>(
&'env self
) -> Result<Option<Local<'env, Animation>>>
[src]
&'env self
) -> Result<Option<Local<'env, Animation>>>
Required features: "android-view-animation-Animation"
pub fn set_out_animation_animation<'env>(
&'env self,
arg0: impl Into<Option<&'env Animation>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env Animation>>
) -> Result<()>
Required features: "android-view-animation-Animation"
pub fn set_in_animation_context_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<()>
Required features: "android-content-Context"
pub fn set_out_animation_context_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<()>
Required features: "android-content-Context"
pub fn get_animate_first_view<'env>(&'env self) -> Result<bool>
[src]
pub fn set_animate_first_view<'env>(&'env self, arg0: bool) -> Result<()>
[src]
pub fn get_baseline<'env>(&'env self) -> Result<i32>
[src]
pub fn get_accessibility_class_name<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>>
Required features: "java-lang-CharSequence"
Trait Implementations
Auto Trait Implementations
impl !Sync for ViewSwitcher
impl !Send for ViewSwitcher
impl Unpin for ViewSwitcher
impl RefUnwindSafe for ViewSwitcher
impl UnwindSafe for ViewSwitcher
Blanket Implementations
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>,
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,