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