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
-
Method Summary
Modifier and TypeMethodDescriptionint
getTitle()
getView()
void
setCustomTitle
(View customTitleView) void
setIcon
(int iconId) void
setMessage
(CharSequence message) void
setTitle
(CharSequence title) void
setView
(int resourceId) void
-
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
-