com.actionbarsherlock.internal.widget
Class IcsListPopupWindow
java.lang.Object
com.actionbarsherlock.internal.widget.IcsListPopupWindow
public class IcsListPopupWindow
- extends Object
A proxy between pre- and post-Honeycomb implementations of this class.
|
Constructor Summary |
IcsListPopupWindow(android.content.Context context)
|
IcsListPopupWindow(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
|
IcsListPopupWindow(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr,
int defStyleRes)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POSITION_PROMPT_ABOVE
public static final int POSITION_PROMPT_ABOVE
- See Also:
- Constant Field Values
POSITION_PROMPT_BELOW
public static final int POSITION_PROMPT_BELOW
- See Also:
- Constant Field Values
IcsListPopupWindow
public IcsListPopupWindow(android.content.Context context)
IcsListPopupWindow
public IcsListPopupWindow(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
IcsListPopupWindow
public IcsListPopupWindow(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr,
int defStyleRes)
setAdapter
public void setAdapter(android.widget.ListAdapter adapter)
setPromptPosition
public void setPromptPosition(int position)
setModal
public void setModal(boolean modal)
setBackgroundDrawable
public void setBackgroundDrawable(android.graphics.drawable.Drawable d)
setAnchorView
public void setAnchorView(android.view.View anchor)
setHorizontalOffset
public void setHorizontalOffset(int offset)
setVerticalOffset
public void setVerticalOffset(int offset)
setContentWidth
public void setContentWidth(int width)
setOnItemClickListener
public void setOnItemClickListener(android.widget.AdapterView.OnItemClickListener clickListener)
show
public void show()
dismiss
public void dismiss()
setOnDismissListener
public void setOnDismissListener(android.widget.PopupWindow.OnDismissListener listener)
setInputMethodMode
public void setInputMethodMode(int mode)
setSelection
public void setSelection(int position)
- Set the selected position of the list.
Only valid when
isShowing() == true.
- Parameters:
position - List position to set as selected.
clearListSelection
public void clearListSelection()
isShowing
public boolean isShowing()
getListView
public android.widget.ListView getListView()
Copyright © 2012-2013. All Rights Reserved.