[]Struct jni_android_sys::android::widget::CalendarView

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

public class CalendarView

Required feature: "android-widget-CalendarView"

Methods

impl CalendarView

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

CalendarView

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

CalendarView

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

CalendarView

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

CalendarView

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

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

Deprecated

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

Deprecated

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

Deprecated

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

Deprecated

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

Deprecated

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

Deprecated

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

Deprecated

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

Deprecated

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

Deprecated

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

Deprecated

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

Deprecated

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

Deprecated

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

Deprecated

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

Deprecated

setSelectedDateVerticalBar

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

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

Deprecated

getSelectedDateVerticalBar

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

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

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

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

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

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

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

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

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

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

Deprecated

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

Deprecated

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

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

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

setOnDateChangeListener

Required features: "android-widget-CalendarView_OnDateChangeListener"

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

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

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

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

Methods from Deref<Target = FrameLayout>

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

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

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

Deprecated

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

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

generateLayoutParams

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

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

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

Trait Implementations

impl AsJValue for CalendarView

impl AsValidJObjectAndEnv for CalendarView

impl Deref for CalendarView

type Target = FrameLayout

The resulting type after dereferencing.

impl JniType for CalendarView

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.