@Implements(value=android.widget.PopupWindow.class) public class ShadowPopupWindow extends Object
PopupWindow.| Modifier and Type | Field and Description |
|---|---|
protected android.widget.PopupWindow |
realPopupWindow |
| Constructor and Description |
|---|
ShadowPopupWindow() |
| Modifier and Type | Method and Description |
|---|---|
void |
__constructor__(android.view.View contentView) |
void |
__constructor__(android.view.View contentView,
int width,
int height,
boolean focusable) |
void |
dismiss() |
boolean |
dispatchTouchEvent(android.view.MotionEvent e) |
android.graphics.drawable.Drawable |
getBackground() |
android.view.View |
getContentView() |
int |
getHeight() |
static android.widget.PopupWindow |
getLatestPopupWindow() |
int |
getWidth() |
int |
getXOffset() |
int |
getYOffset() |
boolean |
isFocusable() |
boolean |
isOutsideTouchable() |
boolean |
isShowing() |
boolean |
isTouchable() |
void |
setBackgroundDrawable(android.graphics.drawable.Drawable background) |
void |
setContentView(android.view.View contentView) |
void |
setFocusable(boolean focusable) |
void |
setHeight(int height) |
void |
setOutsideTouchable(boolean touchable) |
void |
setTouchable(boolean touchable) |
void |
setTouchInterceptor(android.view.View.OnTouchListener l) |
void |
setWidth(int width) |
void |
showAsDropDown(android.view.View anchor) |
void |
showAsDropDown(android.view.View anchor,
int xoff,
int yoff) |
void |
showAtLocation(android.view.View parent,
int gravity,
int x,
int y) |
public void __constructor__(android.view.View contentView)
public void __constructor__(android.view.View contentView,
int width,
int height,
boolean focusable)
@Implementation public void setContentView(android.view.View contentView)
@Implementation public android.view.View getContentView()
@Implementation public void setWidth(int width)
@Implementation public int getWidth()
@Implementation public void setHeight(int height)
@Implementation public int getHeight()
@Implementation public void setFocusable(boolean focusable)
@Implementation public boolean isFocusable()
@Implementation public void setTouchable(boolean touchable)
@Implementation public boolean isTouchable()
@Implementation public void setOutsideTouchable(boolean touchable)
@Implementation public boolean isOutsideTouchable()
@Implementation public boolean isShowing()
@Implementation public void dismiss()
@Implementation public void setBackgroundDrawable(android.graphics.drawable.Drawable background)
@Implementation public android.graphics.drawable.Drawable getBackground()
@Implementation public void setTouchInterceptor(android.view.View.OnTouchListener l)
@Implementation public void showAsDropDown(android.view.View anchor)
@Implementation
public void showAsDropDown(android.view.View anchor,
int xoff,
int yoff)
@Implementation
public void showAtLocation(android.view.View parent,
int gravity,
int x,
int y)
public boolean dispatchTouchEvent(android.view.MotionEvent e)
public int getXOffset()
public int getYOffset()
public static android.widget.PopupWindow getLatestPopupWindow()
Copyright © 2015. All rights reserved.