[]Struct jni_android_sys::android::widget::ListPopupWindow

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

public class ListPopupWindow

Required feature: "android-widget-ListPopupWindow"

Methods

impl ListPopupWindow

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

ListPopupWindow

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

ListPopupWindow

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

ListPopupWindow

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

ListPopupWindow

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

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

setAdapter

Required features: "android-widget-ListAdapter"

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

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

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

pub fn isModal<'env>(&'env self) -> Result<bool, 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 setListSelector<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
[src]

setListSelector

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

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 setAnimationStyle<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

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

getAnchorView

Required features: "android-view-View"

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

setAnchorView

Required features: "android-view-View"

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

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

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

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

pub fn setDropDownGravity<'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 setContentWidth<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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 setWindowLayoutType<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

setOnItemClickListener

Required features: "android-widget-AdapterView_OnItemClickListener"

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

setOnItemSelectedListener

Required features: "android-widget-AdapterView_OnItemSelectedListener"

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

setPromptView

Required features: "android-view-View"

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

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

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 setInputMethodMode<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

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

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

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

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

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

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

getSelectedItem

Required features: "java-lang-Object"

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

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

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

getSelectedView

Required features: "android-view-View"

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

getListView

Required features: "android-widget-ListView"

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

onKeyDown

Required features: "android-view-KeyEvent"

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 onKeyPreIme<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onKeyPreIme

Required features: "android-view-KeyEvent"

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

createDragToOpenListener

Required features: "android-view-View", "android-view-View_OnTouchListener"

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

pub const MATCH_PARENT: i32[src]

public static final MATCH_PARENT

pub const POSITION_PROMPT_ABOVE: i32[src]

public static final POSITION_PROMPT_ABOVE

pub const POSITION_PROMPT_BELOW: i32[src]

public static final POSITION_PROMPT_BELOW

pub const WRAP_CONTENT: i32[src]

public static final WRAP_CONTENT

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 ListPopupWindow

impl AsValidJObjectAndEnv for ListPopupWindow

impl Deref for ListPopupWindow

type Target = Object

The resulting type after dereferencing.

impl JniType for ListPopupWindow

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.