public class IcsListPopupWindow extends Object
Modifier and Type | Field and Description |
---|---|
static int |
POSITION_PROMPT_ABOVE |
static int |
POSITION_PROMPT_BELOW |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
void |
clearListSelection() |
void |
dismiss() |
android.widget.ListView |
getListView() |
boolean |
isShowing() |
void |
setAdapter(android.widget.ListAdapter adapter) |
void |
setAnchorView(android.view.View anchor) |
void |
setBackgroundDrawable(android.graphics.drawable.Drawable d) |
void |
setContentWidth(int width) |
void |
setHorizontalOffset(int offset) |
void |
setInputMethodMode(int mode) |
void |
setModal(boolean modal) |
void |
setOnDismissListener(android.widget.PopupWindow.OnDismissListener listener) |
void |
setOnItemClickListener(android.widget.AdapterView.OnItemClickListener clickListener) |
void |
setPromptPosition(int position) |
void |
setVerticalOffset(int offset) |
void |
show() |
public static final int POSITION_PROMPT_ABOVE
public static final int POSITION_PROMPT_BELOW
public IcsListPopupWindow(android.content.Context context)
public IcsListPopupWindow(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr)
public IcsListPopupWindow(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr, int defStyleRes)
public void setAdapter(android.widget.ListAdapter adapter)
public void setPromptPosition(int position)
public void setModal(boolean modal)
public void setBackgroundDrawable(android.graphics.drawable.Drawable d)
public void setAnchorView(android.view.View anchor)
public void setHorizontalOffset(int offset)
public void setVerticalOffset(int offset)
public void setContentWidth(int width)
public void setOnItemClickListener(android.widget.AdapterView.OnItemClickListener clickListener)
public void show()
public void dismiss()
public void setOnDismissListener(android.widget.PopupWindow.OnDismissListener listener)
public void setInputMethodMode(int mode)
public void clearListSelection()
public boolean isShowing()
public android.widget.ListView getListView()
Copyright © 2011–2014. All rights reserved.