[]Struct jni_android_sys::android::widget::ActionMenuView

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

public class ActionMenuView

Required feature: "android-widget-ActionMenuView"

Methods

impl ActionMenuView

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

ActionMenuView

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

ActionMenuView

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

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

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

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

onConfigurationChanged

Required features: "android-content-res-Configuration"

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

setOnMenuItemClickListener

Required features: "android-widget-ActionMenuView_OnMenuItemClickListener"

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

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

setOverflowIcon

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

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

getOverflowIcon

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

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

generateLayoutParams

Required features: "android-util-AttributeSet", "android-widget-ActionMenuView_LayoutParams"

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

getMenu

Required features: "android-view-Menu"

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

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

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

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

Methods from Deref<Target = LinearLayout>

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

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

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

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

getDividerDrawable

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

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

setDividerDrawable

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

generateLayoutParams

Required features: "android-util-AttributeSet", "android-widget-LinearLayout_LayoutParams"

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

pub const HORIZONTAL: i32[src]

pub const SHOW_DIVIDER_BEGINNING: i32[src]

pub const SHOW_DIVIDER_END: i32[src]

pub const SHOW_DIVIDER_MIDDLE: i32[src]

pub const SHOW_DIVIDER_NONE: i32[src]

pub const VERTICAL: i32[src]

Trait Implementations

impl AsJValue for ActionMenuView

impl AsValidJObjectAndEnv for ActionMenuView

impl Deref for ActionMenuView

type Target = LinearLayout

The resulting type after dereferencing.

impl JniType for ActionMenuView

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.