[−]Struct jni_android_sys::android::widget::AbsSpinner
public class AbsSpinner
Required feature: android-widget-AbsSpinner
Methods
impl AbsSpinner
pub fn new_context<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, AbsSpinner>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, AbsSpinner>>
Required features: "android-content-Context"
pub fn new_context_attribute_set<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, AbsSpinner>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, AbsSpinner>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn new_context_attribute_set_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32
) -> Result<Local<'env, AbsSpinner>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32
) -> Result<Local<'env, AbsSpinner>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn new_context_attribute_set_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, AbsSpinner>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32,
arg3: i32
) -> Result<Local<'env, AbsSpinner>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn set_adapter_spinner_adapter<'env>(
&'env self,
arg0: impl Into<Option<&'env SpinnerAdapter>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env SpinnerAdapter>>
) -> Result<()>
Required features: "android-widget-SpinnerAdapter"
pub fn set_selection_int_boolean<'env>(
&'env self,
arg0: i32,
arg1: bool
) -> Result<()>
[src]
&'env self,
arg0: i32,
arg1: bool
) -> Result<()>
pub fn set_selection_int<'env>(&'env self, arg0: i32) -> Result<()>
[src]
pub fn get_selected_view<'env>(&'env self) -> Result<Option<Local<'env, View>>>
[src]
Required features: "android-view-View"
pub fn request_layout<'env>(&'env self) -> Result<()>
[src]
pub fn get_adapter<'env>(
&'env self
) -> Result<Option<Local<'env, SpinnerAdapter>>>
[src]
&'env self
) -> Result<Option<Local<'env, SpinnerAdapter>>>
Required features: "android-widget-SpinnerAdapter"
pub fn get_count<'env>(&'env self) -> Result<i32>
[src]
pub fn point_to_position<'env>(&'env self, arg0: i32, arg1: i32) -> Result<i32>
[src]
pub fn on_save_instance_state<'env>(
&'env self
) -> Result<Option<Local<'env, Parcelable>>>
[src]
&'env self
) -> Result<Option<Local<'env, Parcelable>>>
Required features: "android-os-Parcelable"
pub fn on_restore_instance_state<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcelable>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env Parcelable>>
) -> Result<()>
Required features: "android-os-Parcelable"
pub fn get_accessibility_class_name<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>>
Required features: "java-lang-CharSequence"
pub fn autofill<'env>(
&'env self,
arg0: impl Into<Option<&'env AutofillValue>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env AutofillValue>>
) -> Result<()>
Required features: "android-view-autofill-AutofillValue"
pub fn get_autofill_type<'env>(&'env self) -> Result<i32>
[src]
pub fn get_autofill_value<'env>(
&'env self
) -> Result<Option<Local<'env, AutofillValue>>>
[src]
&'env self
) -> Result<Option<Local<'env, AutofillValue>>>
Required features: "android-view-autofill-AutofillValue"
Methods from Deref<Target = AdapterView>
pub fn set_on_item_click_listener<'env>(
&'env self,
arg0: impl Into<Option<&'env AdapterView_OnItemClickListener>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env AdapterView_OnItemClickListener>>
) -> Result<()>
Required features: "android-widget-AdapterView_OnItemClickListener"
pub fn get_on_item_click_listener<'env>(
&'env self
) -> Result<Option<Local<'env, AdapterView_OnItemClickListener>>>
[src]
&'env self
) -> Result<Option<Local<'env, AdapterView_OnItemClickListener>>>
Required features: "android-widget-AdapterView_OnItemClickListener"
pub fn perform_item_click<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: i64
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: i64
) -> Result<bool>
Required features: "android-view-View"
pub fn set_on_item_long_click_listener<'env>(
&'env self,
arg0: impl Into<Option<&'env AdapterView_OnItemLongClickListener>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env AdapterView_OnItemLongClickListener>>
) -> Result<()>
Required features: "android-widget-AdapterView_OnItemLongClickListener"
pub fn get_on_item_long_click_listener<'env>(
&'env self
) -> Result<Option<Local<'env, AdapterView_OnItemLongClickListener>>>
[src]
&'env self
) -> Result<Option<Local<'env, AdapterView_OnItemLongClickListener>>>
Required features: "android-widget-AdapterView_OnItemLongClickListener"
pub fn set_on_item_selected_listener<'env>(
&'env self,
arg0: impl Into<Option<&'env AdapterView_OnItemSelectedListener>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env AdapterView_OnItemSelectedListener>>
) -> Result<()>
Required features: "android-widget-AdapterView_OnItemSelectedListener"
pub fn get_on_item_selected_listener<'env>(
&'env self
) -> Result<Option<Local<'env, AdapterView_OnItemSelectedListener>>>
[src]
&'env self
) -> Result<Option<Local<'env, AdapterView_OnItemSelectedListener>>>
Required features: "android-widget-AdapterView_OnItemSelectedListener"
pub fn get_adapter<'env>(&'env self) -> Result<Option<Local<'env, Adapter>>>
[src]
Required features: "android-widget-Adapter"
pub fn set_adapter<'env>(
&'env self,
arg0: impl Into<Option<&'env Adapter>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env Adapter>>
) -> Result<()>
Required features: "android-widget-Adapter"
pub fn add_view_view<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn add_view_view_int<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32
) -> Result<()>
Required features: "android-view-View"
pub fn add_view_view_layout_params<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<()>
Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"
pub fn add_view_view_int_layout_params<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<()>
Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"
pub fn remove_view<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn remove_view_at<'env>(&'env self, arg0: i32) -> Result<()>
[src]
pub fn remove_all_views<'env>(&'env self) -> Result<()>
[src]
pub fn get_selected_item_position<'env>(&'env self) -> Result<i32>
[src]
pub fn get_selected_item_id<'env>(&'env self) -> Result<i64>
[src]
pub fn get_selected_view<'env>(&'env self) -> Result<Option<Local<'env, View>>>
[src]
Required features: "android-view-View"
pub fn get_selected_item<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object"
pub fn get_count<'env>(&'env self) -> Result<i32>
[src]
pub fn get_position_for_view<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<i32>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<i32>
Required features: "android-view-View"
pub fn get_first_visible_position<'env>(&'env self) -> Result<i32>
[src]
pub fn get_last_visible_position<'env>(&'env self) -> Result<i32>
[src]
pub fn set_selection<'env>(&'env self, arg0: i32) -> Result<()>
[src]
pub fn set_empty_view<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn get_empty_view<'env>(&'env self) -> Result<Option<Local<'env, View>>>
[src]
Required features: "android-view-View"
pub fn set_focusable<'env>(&'env self, arg0: i32) -> Result<()>
[src]
pub fn set_focusable_in_touch_mode<'env>(&'env self, arg0: bool) -> Result<()>
[src]
pub fn get_item_at_position<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Object>>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object"
pub fn get_item_id_at_position<'env>(&'env self, arg0: i32) -> Result<i64>
[src]
pub fn set_on_click_listener<'env>(
&'env self,
arg0: impl Into<Option<&'env View_OnClickListener>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env View_OnClickListener>>
) -> Result<()>
Required features: "android-view-View_OnClickListener"
pub fn get_accessibility_class_name<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>>
Required features: "java-lang-CharSequence"
pub fn on_provide_autofill_structure<'env>(
&'env self,
arg0: impl Into<Option<&'env ViewStructure>>,
arg1: i32
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env ViewStructure>>,
arg1: i32
) -> Result<()>
Required features: "android-view-ViewStructure"
pub const INVALID_POSITION: i32
[src]
pub const INVALID_ROW_ID: i64
[src]
pub const ITEM_VIEW_TYPE_HEADER_OR_FOOTER: i32
[src]
pub const ITEM_VIEW_TYPE_IGNORE: i32
[src]
Trait Implementations
Auto Trait Implementations
impl !Sync for AbsSpinner
impl !Send for AbsSpinner
impl Unpin for AbsSpinner
impl RefUnwindSafe for AbsSpinner
impl UnwindSafe for AbsSpinner
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,