[]Struct jni_android_sys::android::text::method::ArrowKeyMovementMethod

#[repr(transparent)]
pub struct ArrowKeyMovementMethod(_);

public class ArrowKeyMovementMethod

Required feature: "android-text-method-ArrowKeyMovementMethod"

Methods

impl ArrowKeyMovementMethod

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, ArrowKeyMovementMethod>, Local<'env, Throwable>>
[src]

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]

onTouchEvent

Required features: "android-text-Spannable", "android-view-MotionEvent", "android-widget-TextView"

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

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

initialize

Required features: "android-text-Spannable", "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]

onTakeFocus

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]

getInstance

Required features: "android-text-method-MovementMethod"

Methods from Deref<Target = BaseMovementMethod>

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

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

initialize

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]

onKeyDown

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]

onKeyOther

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]

onKeyUp

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]

onTakeFocus

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]

onTouchEvent

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]

onTrackballEvent

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]

onGenericMotionEvent

Required features: "android-text-Spannable", "android-view-MotionEvent", "android-widget-TextView"

Trait Implementations

impl AsJValue for ArrowKeyMovementMethod

impl AsRef<MovementMethod> for ArrowKeyMovementMethod

impl AsValidJObjectAndEnv for ArrowKeyMovementMethod

impl Deref for ArrowKeyMovementMethod

type Target = BaseMovementMethod

The resulting type after dereferencing.

impl JniType for ArrowKeyMovementMethod

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.