[−]Struct jni_android_sys::android::widget::AbsoluteLayout_LayoutParams
public class AbsoluteLayout.LayoutParams
Required feature: "android-widget-AbsoluteLayout_LayoutParams"
Methods
impl AbsoluteLayout_LayoutParams
pub fn new_int_int_int_int<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<Local<'env, AbsoluteLayout_LayoutParams>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<Local<'env, AbsoluteLayout_LayoutParams>, Local<'env, Throwable>>
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, AbsoluteLayout_LayoutParams>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, AbsoluteLayout_LayoutParams>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn new_LayoutParams<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<Local<'env, AbsoluteLayout_LayoutParams>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<Local<'env, AbsoluteLayout_LayoutParams>, Local<'env, Throwable>>
Required features: "android-view-ViewGroup_LayoutParams"
pub fn debug<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn x<'env>(&'env self) -> i32
[src]
get public x
pub fn set_x<'env>(&'env self, value: i32)
[src]
set public x
pub fn y<'env>(&'env self) -> i32
[src]
get public y
pub fn set_y<'env>(&'env self, value: i32)
[src]
set public y
Methods from Deref<Target = ViewGroup_LayoutParams>
pub fn resolveLayoutDirection<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub const FILL_PARENT: i32
[src]
pub const MATCH_PARENT: i32
[src]
pub const WRAP_CONTENT: i32
[src]
pub fn height<'env>(&'env self) -> i32
[src]
get public height
pub fn set_height<'env>(&'env self, value: i32)
[src]
set public height
pub fn layoutAnimationParameters<'env>(
&'env self
) -> Option<Local<'env, LayoutAnimationController_AnimationParameters>>
[src]
&'env self
) -> Option<Local<'env, LayoutAnimationController_AnimationParameters>>
get public layoutAnimationParameters
Required feature: "android-view-animation-LayoutAnimationController_AnimationParameters"
pub fn set_layoutAnimationParameters<'env, 'obj>(
&'env self,
value: impl Into<Option<&'obj LayoutAnimationController_AnimationParameters>>
)
[src]
&'env self,
value: impl Into<Option<&'obj LayoutAnimationController_AnimationParameters>>
)
set public layoutAnimationParameters
Required feature: "android-view-animation-LayoutAnimationController_AnimationParameters"
pub fn width<'env>(&'env self) -> i32
[src]
get public width
pub fn set_width<'env>(&'env self, value: i32)
[src]
set public width
Trait Implementations
impl AsJValue for AbsoluteLayout_LayoutParams
impl AsValidJObjectAndEnv for AbsoluteLayout_LayoutParams
impl Deref for AbsoluteLayout_LayoutParams
type Target = ViewGroup_LayoutParams
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for AbsoluteLayout_LayoutParams
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for AbsoluteLayout_LayoutParams
impl !Send for AbsoluteLayout_LayoutParams
impl !Sync for AbsoluteLayout_LayoutParams
impl Unpin for AbsoluteLayout_LayoutParams
impl UnwindSafe for AbsoluteLayout_LayoutParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,