[−]Struct jni_android_sys::android::text::method::ScrollingMovementMethod
public class ScrollingMovementMethod
Required feature: "android-text-method-ScrollingMovementMethod"
Methods
impl ScrollingMovementMethod
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, ScrollingMovementMethod>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, ScrollingMovementMethod>, Local<'env, Throwable>>
pub fn onTouchEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-text-Spannable", "android-view-MotionEvent", "android-widget-TextView"
pub fn onTakeFocus<'env>(
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-text-Spannable", "android-widget-TextView"
pub fn getInstance<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, MovementMethod>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, MovementMethod>>, Local<'env, Throwable>>
Required features: "android-text-method-MovementMethod"
Methods from Deref<Target = BaseMovementMethod>
pub fn canSelectArbitrarily<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn initialize<'env>(
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-text-Spannable", "android-widget-TextView"
pub fn onKeyDown<'env>(
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: i32,
arg3: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: i32,
arg3: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-text-Spannable", "android-view-KeyEvent", "android-widget-TextView"
pub fn onKeyOther<'env>(
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-text-Spannable", "android-view-KeyEvent", "android-widget-TextView"
pub fn onKeyUp<'env>(
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: i32,
arg3: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: i32,
arg3: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-text-Spannable", "android-view-KeyEvent", "android-widget-TextView"
pub fn onTakeFocus<'env>(
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-text-Spannable", "android-widget-TextView"
pub fn onTouchEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-text-Spannable", "android-view-MotionEvent", "android-widget-TextView"
pub fn onTrackballEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-text-Spannable", "android-view-MotionEvent", "android-widget-TextView"
pub fn onGenericMotionEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env Spannable>>,
arg2: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-text-Spannable", "android-view-MotionEvent", "android-widget-TextView"
Trait Implementations
impl AsJValue for ScrollingMovementMethod
impl AsRef<MovementMethod> for ScrollingMovementMethod
fn as_ref(&self) -> &MovementMethod
impl AsValidJObjectAndEnv for ScrollingMovementMethod
impl Deref for ScrollingMovementMethod
type Target = BaseMovementMethod
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for ScrollingMovementMethod
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ScrollingMovementMethod
impl !Send for ScrollingMovementMethod
impl !Sync for ScrollingMovementMethod
impl Unpin for ScrollingMovementMethod
impl UnwindSafe for ScrollingMovementMethod
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>,