{ "methods": { "clickOnItem(int)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "index" ], "returnType": "void", "exceptions": [], "name": "clickOnItem(int)", "documentation": "Simulates a click on the {@code Dialog} item indicated by {@code index}. Handles both multi- and single-choice dialogs, tracks which items are currently\nchecked and calls listeners appropriately.\n\n@param index the index of the item to click on\n" }, "getAdapter()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "android.widget.Adapter", "exceptions": [], "name": "getAdapter()" }, "getCustomTitleView()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "android.view.View", "exceptions": [], "name": "getCustomTitleView()", "documentation": "@return return the view set with {@link AlertDialog.Builder#setCustomTitle(View)}\n" }, "getCustomView()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "android.widget.FrameLayout", "exceptions": [], "name": "getCustomView()" }, "getIconId()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "int", "exceptions": [], "name": "getIconId()", "documentation": "@return the icon set with {@link AlertDialog.Builder#setIcon(int)}\n" }, "getItems()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "java.lang.CharSequence[]", "exceptions": [], "name": "getItems()", "documentation": "@return the items that are available to be clicked on\n" }, "getLatestAlertDialog()": { "isImplementation": false, "modifiers": [ "public", "static" ], "params": [], "returnType": "android.app.AlertDialog", "exceptions": [], "name": "getLatestAlertDialog()", "documentation": "@return the most recently created {@code AlertDialog}, or null if none has been created during this test run\n" }, "getMessage()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "java.lang.CharSequence", "exceptions": [], "name": "getMessage()", "documentation": "@return the message displayed in the dialog\n" }, "getShadowAlertController()": { "isImplementation": false, "modifiers": [ "private" ], "params": [], "returnType": "org.robolectric.shadows.ShadowAlertController", "exceptions": [], "name": "getShadowAlertController()" }, "getTitle()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "java.lang.CharSequence", "exceptions": [], "name": "getTitle()" }, "getView()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "android.view.View", "exceptions": [], "name": "getView()", "documentation": "@return the view set with {@link AlertDialog.Builder#setView(View)}\n" }, "reset()": { "isImplementation": false, "modifiers": [ "public", "static" ], "params": [], "returnType": "void", "exceptions": [], "name": "reset()", "documentation": "Resets the tracking of the most recently created {@code AlertDialog}\n" }, "show()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "void", "exceptions": [], "name": "show()" } }, "imports": [ "android.app.AlertDialog", "android.content.DialogInterface", "android.view.View", "android.widget.Adapter", "android.widget.FrameLayout", "com.android.internal.app.AlertController", "org.robolectric.RuntimeEnvironment", "org.robolectric.annotation.Implements", "org.robolectric.annotation.RealObject", "org.robolectric.shadow.api.Shadow", "org.robolectric.util.ReflectionHelpers", "org.robolectric.shadows.ShadowAlertDialog.ShadowBuilder" ], "name": "org.robolectric.shadows.ShadowAlertDialog" }