[]Struct jni_android_sys::android::widget::GridLayout_LayoutParams

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

public class GridLayout.LayoutParams

Required feature: "android-widget-GridLayout_LayoutParams"

Methods

impl GridLayout_LayoutParams

pub fn new_Spec_Spec<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env GridLayout_Spec>>,
    arg1: impl Into<Option<&'env GridLayout_Spec>>
) -> Result<Local<'env, GridLayout_LayoutParams>, Local<'env, Throwable>>
[src]

LayoutParams

Required features: "android-widget-GridLayout_Spec"

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

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

LayoutParams

Required features: "android-view-ViewGroup_LayoutParams"

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

LayoutParams

Required features: "android-view-ViewGroup_MarginLayoutParams"

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

LayoutParams

Required features: "android-widget-GridLayout_LayoutParams"

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

LayoutParams

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

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

pub fn columnSpec<'env>(&'env self) -> Option<Local<'env, GridLayout_Spec>>[src]

get public columnSpec

Required feature: "android-widget-GridLayout_Spec"

pub fn set_columnSpec<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj GridLayout_Spec>>
)
[src]

set public columnSpec

Required feature: "android-widget-GridLayout_Spec"

pub fn rowSpec<'env>(&'env self) -> Option<Local<'env, GridLayout_Spec>>[src]

get public rowSpec

Required feature: "android-widget-GridLayout_Spec"

pub fn set_rowSpec<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj GridLayout_Spec>>
)
[src]

set public rowSpec

Required feature: "android-widget-GridLayout_Spec"

Methods from Deref<Target = ViewGroup_MarginLayoutParams>

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

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

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

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

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

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

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

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

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

pub fn bottomMargin<'env>(&'env self) -> i32[src]

get public bottomMargin

pub fn set_bottomMargin<'env>(&'env self, value: i32)[src]

set public bottomMargin

pub fn leftMargin<'env>(&'env self) -> i32[src]

get public leftMargin

pub fn set_leftMargin<'env>(&'env self, value: i32)[src]

set public leftMargin

pub fn rightMargin<'env>(&'env self) -> i32[src]

get public rightMargin

pub fn set_rightMargin<'env>(&'env self, value: i32)[src]

set public rightMargin

pub fn topMargin<'env>(&'env self) -> i32[src]

get public topMargin

pub fn set_topMargin<'env>(&'env self, value: i32)[src]

set public topMargin

Trait Implementations

impl AsJValue for GridLayout_LayoutParams

impl AsValidJObjectAndEnv for GridLayout_LayoutParams

impl Deref for GridLayout_LayoutParams

type Target = ViewGroup_MarginLayoutParams

The resulting type after dereferencing.

impl JniType for GridLayout_LayoutParams

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.