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
All Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
setTitle
@Implementation public void setTitle(CharSequence title) throws InvocationTargetException, IllegalAccessException
-
getTitle
public CharSequence getTitle()
-
setCustomTitle
@Implementation public void setCustomTitle(View customTitleView)
-
getCustomTitleView
public View getCustomTitleView()
-
setMessage
@Implementation public void setMessage(CharSequence message)
-
getMessage
public CharSequence getMessage()
-
setView
@Implementation public void setView(View view)
-
setView
@Implementation(minSdk=21) public void setView(int resourceId)
-
setIcon
@Implementation public void setIcon(int iconId)
-
getIconId
public int getIconId()
-
getView
public View getView()
-
getAdapter
public Adapter getAdapter()
-
-