Package org.robolectric.shadows
Class ShadowDialog
java.lang.Object
org.robolectric.shadows.ShadowDialog
- Direct Known Subclasses:
ShadowAlertDialog
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
callOnCreate
(Bundle bundle) void
clickOn
(int viewId) void
clickOnText
(int textId) void
clickOnText
(String text) protected void
dismiss()
static Dialog
getTitle()
boolean
boolean
boolean
static void
reset()
protected void
setCanceledOnTouchOutside
(boolean flag) static void
setLatestDialog
(ShadowDialog dialog) protected void
protected void
show()
-
Field Details
-
title
-
-
Constructor Details
-
ShadowDialog
public ShadowDialog()
-
-
Method Details
-
reset
-
getLatestDialog
-
setLatestDialog
-
show
-
dismiss
-
clickOn
public void clickOn(int viewId) -
setCanceledOnTouchOutside
-
isCancelable
public boolean isCancelable() -
isCancelableOnTouchOutside
public boolean isCancelableOnTouchOutside() -
getOnCancelListener
-
setOnCancelListener
-
hasBeenDismissed
public boolean hasBeenDismissed() -
getTitle
-
clickOnText
public void clickOnText(int textId) -
clickOnText
-
getShownDialogs
-
callOnCreate
-