Package org.robolectric.shadows
Class ShadowAlertController
java.lang.Object
org.robolectric.shadows.ShadowAlertController
@Implements(value=com.android.internal.app.AlertController.class, isInAndroidSdk=false) public class ShadowAlertController extends Object
-
Constructor Summary
Constructors Constructor Description ShadowAlertController()
-
Method Summary
Modifier and Type Method Description Adapter
getAdapter()
View
getCustomTitleView()
int
getIconId()
CharSequence
getMessage()
CharSequence
getTitle()
View
getView()
void
setCustomTitle(View customTitleView)
void
setIcon(int iconId)
void
setMessage(CharSequence message)
void
setTitle(CharSequence title)
void
setView(int resourceId)
void
setView(View view)
-
Constructor Details
-
ShadowAlertController
public ShadowAlertController()
-
-
Method Details
-
setTitle
@Implementation public void setTitle(CharSequence title) throws InvocationTargetException, IllegalAccessException -
getTitle
-
setCustomTitle
-
getCustomTitleView
-
setMessage
-
getMessage
-
setView
-
setView
-
setIcon
-
getIconId
public int getIconId() -
getView
-
getAdapter
-