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

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

public class BaseMovementMethod

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

Methods

impl BaseMovementMethod

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

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"

Methods from Deref<Target = Object>

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

getClass

Required features: "java-lang-Class"

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

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

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

toString

Required features: "java-lang-String"

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

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

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

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

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

Trait Implementations

impl AsJValue for BaseMovementMethod

impl AsRef<MovementMethod> for BaseMovementMethod

impl AsValidJObjectAndEnv for BaseMovementMethod

impl Deref for BaseMovementMethod

type Target = Object

The resulting type after dereferencing.

impl JniType for BaseMovementMethod

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.