Package org.robolectric.shadows
Class ShadowProgressDialog
java.lang.Object
org.robolectric.shadows.ShadowDialog
org.robolectric.shadows.ShadowAlertDialog
org.robolectric.shadows.ShadowProgressDialog
@Implements(android.app.ProgressDialog.class) public class ShadowProgressDialog extends ShadowAlertDialog
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowAlertDialog
ShadowAlertDialog.ShadowBuilder
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ShadowProgressDialog()
-
Method Summary
Modifier and Type Method Description CharSequence
getMessage()
int
getProgressStyle()
protected void
setProgressStyle(int style)
Methods inherited from class org.robolectric.shadows.ShadowAlertDialog
clickOnItem, getAdapter, getCustomTitleView, getCustomView, getIconId, getItems, getLatestAlertDialog, getTitle, getView, reset, show
Methods inherited from class org.robolectric.shadows.ShadowDialog
callOnCreate, clickOn, clickOnText, clickOnText, dismiss, getLatestDialog, getOnCancelListener, getShownDialogs, hasBeenDismissed, isCancelable, isCancelableOnTouchOutside, setCanceledOnTouchOutside, setLatestDialog, setOnCancelListener
-
Constructor Details
-
ShadowProgressDialog
public ShadowProgressDialog()
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classShadowAlertDialog
- Returns:
- the message displayed in the dialog
-
setProgressStyle
-
getProgressStyle
public int getProgressStyle()- Returns:
- the style of the progress dialog
-