/**@class android.widget.Spinner
 implements android.content.DialogInterface.OnClickListener

@extends android.widget.AbsSpinner

 A view that displays one child at a time and lets the user pick among them.
 The items in the Spinner come from the {@link android.widget.Adapter} associated with
 this view.

 <p>See the <a href="{@docRoot}guide/topics/ui/controls/spinner.html">Spinners</a> guide.</p>

 @attr ref android.R.styleable#Spinner_dropDownSelector
 @attr ref android.R.styleable#Spinner_dropDownWidth
 @attr ref android.R.styleable#Spinner_gravity
 @attr ref android.R.styleable#Spinner_popupBackground
 @attr ref android.R.styleable#Spinner_prompt
 @attr ref android.R.styleable#Spinner_spinnerMode
 @attr ref android.R.styleable#ListPopupWindow_dropDownVerticalOffset
 @attr ref android.R.styleable#ListPopupWindow_dropDownHorizontalOffset
*/
var Spinner = {

/** Use a dialog window for selecting spinner options.
*/
MODE_DIALOG : "0",
/** Use a dropdown anchored to the Spinner for selecting spinner options.
*/
MODE_DROPDOWN : "1",
/**
@return {Object {android.content.Context}} the context used to inflate the Spinner's popup or dialog window
*/
getPopupContext : function(  ) {},

/**Set the background drawable for the spinner's popup window of choices.
 Only valid in {@link #MODE_DROPDOWN}; this method is a no-op in other modes.
@param {Object {Drawable}} background Background drawable
@attr ref android.R.styleable#Spinner_popupBackground
*/
setPopupBackgroundDrawable : function(  ) {},

/**Set the background drawable for the spinner's popup window of choices.
 Only valid in {@link #MODE_DROPDOWN}; this method is a no-op in other modes.
@param {Number} resId Resource ID of a background drawable
@attr ref android.R.styleable#Spinner_popupBackground
*/
setPopupBackgroundResource : function(  ) {},

/**Get the background drawable for the spinner's popup window of choices.
 Only valid in {@link #MODE_DROPDOWN}; other modes will return null.
@return {Object {android.graphics.drawable.Drawable}} background Background drawable
@attr ref android.R.styleable#Spinner_popupBackground
*/
getPopupBackground : function(  ) {},

/**
@hide 
*/
isPopupShowing : function(  ) {},

/**Set a vertical offset in pixels for the spinner's popup window of choices.
 Only valid in {@link #MODE_DROPDOWN}; this method is a no-op in other modes.
@param {Number} pixels Vertical offset in pixels
@attr ref android.R.styleable#ListPopupWindow_dropDownVerticalOffset
*/
setDropDownVerticalOffset : function(  ) {},

/**Get the configured vertical offset in pixels for the spinner's popup window of choices.
 Only valid in {@link #MODE_DROPDOWN}; other modes will return 0.
@return {Number} Vertical offset in pixels
@attr ref android.R.styleable#ListPopupWindow_dropDownVerticalOffset
*/
getDropDownVerticalOffset : function(  ) {},

/**Set a horizontal offset in pixels for the spinner's popup window of choices.
 Only valid in {@link #MODE_DROPDOWN}; this method is a no-op in other modes.
@param {Number} pixels Horizontal offset in pixels
@attr ref android.R.styleable#ListPopupWindow_dropDownHorizontalOffset
*/
setDropDownHorizontalOffset : function(  ) {},

/**Get the configured horizontal offset in pixels for the spinner's popup window of choices.
 Only valid in {@link #MODE_DROPDOWN}; other modes will return 0.
@return {Number} Horizontal offset in pixels
@attr ref android.R.styleable#ListPopupWindow_dropDownHorizontalOffset
*/
getDropDownHorizontalOffset : function(  ) {},

/**Set the width of the spinner's popup window of choices in pixels. This value
 may also be set to {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT}
 to match the width of the Spinner itself, or
 {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} to wrap to the measured size
 of contained dropdown list items.

 <p>Only valid in {@link #MODE_DROPDOWN}; this method is a no-op in other modes.</p>
@param {Number} pixels Width in pixels, WRAP_CONTENT, or MATCH_PARENT
@attr ref android.R.styleable#Spinner_dropDownWidth
*/
setDropDownWidth : function(  ) {},

/**Get the configured width of the spinner's popup window of choices in pixels.
 The returned value may also be {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT}
 meaning the popup window will match the width of the Spinner itself, or
 {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} to wrap to the measured size
 of contained dropdown list items.
@return {Number} Width in pixels, WRAP_CONTENT, or MATCH_PARENT
@attr ref android.R.styleable#Spinner_dropDownWidth
*/
getDropDownWidth : function(  ) {},

/**
*/
setEnabled : function(  ) {},

/**Describes how the selected item view is positioned. Currently only the horizontal component
 is used. The default is determined by the current theme.
@param {Number} gravity See {@link android.view.Gravity}
@attr ref android.R.styleable#Spinner_gravity
*/
setGravity : function(  ) {},

/**Describes how the selected item view is positioned. The default is determined by the
 current theme.
@return {Number} A {@link android.view.Gravity Gravity} value
*/
getGravity : function(  ) {},

/**Sets the {@link android.widget.SpinnerAdapter} used to provide the data which backs
 this Spinner.
 <p>
 If this Spinner has a popup theme set in XML via the
 {@link android.R.styleable#Spinner_popupTheme popupTheme} attribute, the
 adapter should inflate drop-down views using the same theme. The easiest
 way to achieve this is by using {@link #getPopupContext}() to obtain a
 layout inflater for use in
 {@link android.widget.SpinnerAdapter#getDropDownView(int, View, ViewGroup)}.
 <p>
 Spinner overrides {@link android.widget.Adapter#getViewTypeCount()} on the
 Adapter associated with this view. Calling
 {@link android.widget.Adapter#getItemViewType(int) getItemViewType(int)} on the object
 returned from {@link #getAdapter}() will always return 0. Calling
 {@link android.widget.Adapter#getViewTypeCount() getViewTypeCount()} will always return
 1. On API {@link Build.VERSION_CODES#LOLLIPOP} and above, attempting to set an
 adapter with more than one view type will throw an
 {@link IllegalArgumentException}.
@param {Object {SpinnerAdapter}} adapter the adapter to set
@see AbsSpinner#setAdapter(SpinnerAdapter)
@throws IllegalArgumentException if the adapter has more than one view
         type
*/
setAdapter : function(  ) {},

/**
*/
getBaseline : function(  ) {},

/**<p>A spinner does not support item click events. Calling this method
 will raise an exception.</p>
 <p>Instead use {@link android.widget.AdapterView#setOnItemSelectedListener}.
@param {Object {AdapterView.OnItemClickListener}} l this listener will be ignored
*/
setOnItemClickListener : function(  ) {},

/**
@hide internal use only
*/
setOnItemClickListenerInt : function(  ) {},

/**
*/
onTouchEvent : function(  ) {},

/**
*/
performClick : function(  ) {},

/**
*/
onClick : function(  ) {},

/**
*/
getAccessibilityClassName : function(  ) {},

/**
@hide 
*/
onInitializeAccessibilityNodeInfoInternal : function(  ) {},

/**Sets the prompt to display when the dialog is shown.
@param {Object {CharSequence}} prompt the prompt to set
*/
setPrompt : function(  ) {},

/**Sets the prompt to display when the dialog is shown.
@param {Number} promptId the resource ID of the prompt to display when the dialog is shown
*/
setPromptId : function(  ) {},

/**
@return {Object {java.lang.CharSequence}} The prompt to display when the dialog is shown
*/
getPrompt : function(  ) {},

/**
*/
onSaveInstanceState : function(  ) {},

/**
*/
onRestoreInstanceState : function(  ) {},

/**
*/
onResolvePointerIcon : function(  ) {},


};