public class PopupView
extends android.widget.PopupWindow
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
SITE_BOTTOM |
static int |
SITE_LEFT |
static int |
SITE_RIGHT |
static int |
SITE_TOP |
| 构造器和说明 |
|---|
PopupView(android.content.Context context) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getContentHeight() |
int |
getContentWidth() |
protected android.content.Context |
getContext() |
void |
measureContentView() |
int[] |
reviseFrameAndOrigin(android.view.View anchor,
android.graphics.Rect frame,
android.graphics.Point origin) |
void |
setSites(int... sites) |
void |
setSites(int sites) |
void |
show(android.view.View anchor) |
void |
show(android.view.View anchor,
android.graphics.Point origin) |
void |
show(android.view.View anchor,
android.graphics.Rect frame) |
void |
show(android.view.View anchor,
android.graphics.Rect frame,
android.graphics.Point origin) |
void |
showAtBottom(android.view.View anchor,
android.graphics.Point origin,
int xOff,
int yOff) |
void |
showAtLeft(android.view.View anchor,
android.graphics.Point origin,
int xOff,
int yOff) |
void |
showAtRight(android.view.View anchor,
android.graphics.Point origin,
int xOff,
int yOff) |
void |
showAtTop(android.view.View anchor,
android.graphics.Point origin,
int xOff,
int yOff) |
dismiss, getAnimationStyle, getBackground, getContentView, getElevation, getEnterTransition, getExitTransition, getHeight, getInputMethodMode, getMaxAvailableHeight, getMaxAvailableHeight, getMaxAvailableHeight, getOverlapAnchor, getSoftInputMode, getWidth, getWindowLayoutType, isAboveAnchor, isAttachedInDecor, isClippingEnabled, isFocusable, isOutsideTouchable, isShowing, isSplitTouchEnabled, isTouchable, setAnimationStyle, setAttachedInDecor, setBackgroundDrawable, setClippingEnabled, setContentView, setElevation, setEnterTransition, setExitTransition, setFocusable, setHeight, setIgnoreCheekPress, setInputMethodMode, setOnDismissListener, setOutsideTouchable, setOverlapAnchor, setSoftInputMode, setSplitTouchEnabled, setTouchable, setTouchInterceptor, setWidth, setWindowLayoutMode, setWindowLayoutType, showAsDropDown, showAsDropDown, showAsDropDown, showAtLocation, update, update, update, update, update, updatepublic static final int SITE_TOP
public static final int SITE_LEFT
public static final int SITE_RIGHT
public static final int SITE_BOTTOM
public void measureContentView()
public void setSites(int sites)
public void setSites(int... sites)
public int getContentWidth()
public int getContentHeight()
public int[] reviseFrameAndOrigin(android.view.View anchor,
android.graphics.Rect frame,
android.graphics.Point origin)
public void show(android.view.View anchor)
public void show(android.view.View anchor,
android.graphics.Point origin)
public void show(android.view.View anchor,
android.graphics.Rect frame)
public void show(android.view.View anchor,
android.graphics.Rect frame,
android.graphics.Point origin)
public void showAtTop(android.view.View anchor,
android.graphics.Point origin,
int xOff,
int yOff)
public void showAtLeft(android.view.View anchor,
android.graphics.Point origin,
int xOff,
int yOff)
public void showAtRight(android.view.View anchor,
android.graphics.Point origin,
int xOff,
int yOff)
public void showAtBottom(android.view.View anchor,
android.graphics.Point origin,
int xOff,
int yOff)
protected android.content.Context getContext()