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
-
Fields inherited from class org.robolectric.shadows.ShadowDialog
title
-
-
Constructor Summary
Constructors Constructor Description ShadowProgressDialog()
-
Method Summary
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Method Detail
-
getMessage
public CharSequence getMessage()
- Overrides:
getMessage
in classShadowAlertDialog
- Returns:
- the message displayed in the dialog
-
setProgressStyle
@Implementation protected void setProgressStyle(int style)
-
getProgressStyle
public int getProgressStyle()
- Returns:
- the style of the progress dialog
-
-