[]Struct jni_android_sys::android::widget::PopupWindow

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

public class PopupWindow

Required feature: "android-widget-PopupWindow"

Methods

impl PopupWindow

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

PopupWindow

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, PopupWindow>, Local<'env, Throwable>>
[src]

PopupWindow

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, PopupWindow>, Local<'env, Throwable>>
[src]

PopupWindow

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, PopupWindow>, Local<'env, Throwable>>
[src]

PopupWindow

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

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

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

PopupWindow

Required features: "android-view-View"

pub fn new_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: i32
) -> Result<Local<'env, PopupWindow>, Local<'env, Throwable>>
[src]

pub fn new_View_int_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env View>>,
    arg1: i32,
    arg2: i32
) -> Result<Local<'env, PopupWindow>, Local<'env, Throwable>>
[src]

PopupWindow

Required features: "android-view-View"

pub fn new_View_int_int_boolean<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env View>>,
    arg1: i32,
    arg2: i32,
    arg3: bool
) -> Result<Local<'env, PopupWindow>, Local<'env, Throwable>>
[src]

PopupWindow

Required features: "android-view-View"

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

setEnterTransition

Required features: "android-transition-Transition"

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

getEnterTransition

Required features: "android-transition-Transition"

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

setExitTransition

Required features: "android-transition-Transition"

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

getExitTransition

Required features: "android-transition-Transition"

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

getBackground

Required features: "android-graphics-drawable-Drawable"

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

setBackgroundDrawable

Required features: "android-graphics-drawable-Drawable"

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

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

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

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

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

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

getContentView

Required features: "android-view-View"

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

setContentView

Required features: "android-view-View"

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

setTouchInterceptor

Required features: "android-view-View_OnTouchListener"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Deprecated

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

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

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

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

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

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

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

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

showAtLocation

Required features: "android-view-View"

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

showAsDropDown

Required features: "android-view-View"

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

showAsDropDown

Required features: "android-view-View"

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

showAsDropDown

Required features: "android-view-View"

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

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

getMaxAvailableHeight

Required features: "android-view-View"

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

getMaxAvailableHeight

Required features: "android-view-View"

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

getMaxAvailableHeight

Required features: "android-view-View"

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

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

setOnDismissListener

Required features: "android-widget-PopupWindow_OnDismissListener"

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

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

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

pub fn update_int_int_int_int_boolean<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: bool
) -> Result<(), Local<'env, Throwable>>
[src]

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

update

Required features: "android-view-View"

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

update

Required features: "android-view-View"

pub const INPUT_METHOD_FROM_FOCUSABLE: i32[src]

public static final INPUT_METHOD_FROM_FOCUSABLE

pub const INPUT_METHOD_NEEDED: i32[src]

public static final INPUT_METHOD_NEEDED

pub const INPUT_METHOD_NOT_NEEDED: i32[src]

public static final INPUT_METHOD_NOT_NEEDED

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 PopupWindow

impl AsValidJObjectAndEnv for PopupWindow

impl Deref for PopupWindow

type Target = Object

The resulting type after dereferencing.

impl JniType for PopupWindow

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.