[]Struct jni_android_sys::android::widget::ZoomButton

#[repr(transparent)]
pub struct ZoomButton(_);
Deprecated

public class ZoomButton

Required feature: "android-widget-ZoomButton"

Methods

impl ZoomButton

pub fn new_Context<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, ZoomButton>, Local<'env, Throwable>>
[src]

ZoomButton

Required features: "android-content-Context"

pub fn new_Context_AttributeSet<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, ZoomButton>, Local<'env, Throwable>>
[src]

ZoomButton

Required features: "android-content-Context", "android-util-AttributeSet"

pub fn new_Context_AttributeSet_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env AttributeSet>>,
    arg2: i32
) -> Result<Local<'env, ZoomButton>, Local<'env, Throwable>>
[src]

ZoomButton

Required features: "android-content-Context", "android-util-AttributeSet"

pub fn new_Context_AttributeSet_int_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env AttributeSet>>,
    arg2: i32,
    arg3: i32
) -> Result<Local<'env, ZoomButton>, Local<'env, Throwable>>
[src]

ZoomButton

Required features: "android-content-Context", "android-util-AttributeSet"

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

onTouchEvent

Required features: "android-view-MotionEvent"

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

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

onLongClick

Required features: "android-view-View"

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

onKeyUp

Required features: "android-view-KeyEvent"

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

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

dispatchUnhandledMove

Required features: "android-view-View"

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

Methods from Deref<Target = ImageButton>

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

pub fn onResolvePointerIcon<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>,
    arg1: i32
) -> Result<Option<Local<'env, PointerIcon>>, Local<'env, Throwable>>
[src]

onResolvePointerIcon

Required features: "android-view-MotionEvent", "android-view-PointerIcon"

Trait Implementations

impl AsJValue for ZoomButton

impl AsRef<View_OnLongClickListener> for ZoomButton

impl AsValidJObjectAndEnv for ZoomButton

impl Deref for ZoomButton

type Target = ImageButton

The resulting type after dereferencing.

impl JniType for ZoomButton

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.