@Implements(value=android.app.Dialog.class) public class ShadowDialog extends Object
Modifier and Type | Field and Description |
---|---|
protected CharSequence |
title |
Constructor and Description |
---|
ShadowDialog() |
Modifier and Type | Method and Description |
---|---|
void |
callOnCreate(Bundle bundle) |
void |
clickOn(int viewId) |
void |
clickOnText(int textId) |
void |
clickOnText(String text) |
protected void |
dismiss() |
static Dialog |
getLatestDialog() |
DialogInterface.OnCancelListener |
getOnCancelListener() |
static List<Dialog> |
getShownDialogs() |
CharSequence |
getTitle() |
boolean |
hasBeenDismissed() |
boolean |
isCancelable() |
boolean |
isCancelableOnTouchOutside() |
static void |
reset() |
protected void |
setCanceledOnTouchOutside(boolean flag) |
static void |
setLatestDialog(ShadowDialog latestDialog) |
protected void |
setOnCancelListener(DialogInterface.OnCancelListener listener) |
protected void |
show() |
protected CharSequence title
@Resetter public static void reset()
public static Dialog getLatestDialog()
public static void setLatestDialog(ShadowDialog latestDialog)
@Implementation protected void show()
@Implementation protected void dismiss()
public void clickOn(int viewId)
@Implementation protected void setCanceledOnTouchOutside(boolean flag)
public boolean isCancelable()
public boolean isCancelableOnTouchOutside()
public DialogInterface.OnCancelListener getOnCancelListener()
@Implementation protected void setOnCancelListener(DialogInterface.OnCancelListener listener)
public boolean hasBeenDismissed()
public CharSequence getTitle()
public void clickOnText(int textId)
public void clickOnText(String text)
public void callOnCreate(Bundle bundle)