public class AlertController
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
AlertController.AlertDecorViewInstaller |
static class |
AlertController.AlertParams |
| Constructor and Description |
|---|
AlertController(android.content.Context context,
android.content.DialogInterface di,
android.view.Window window) |
AlertController(android.content.Context context,
android.content.DialogInterface di,
android.view.Window window,
AlertController.AlertDecorViewInstaller decorViewInstaller) |
| Modifier and Type | Method and Description |
|---|---|
Button |
getButton(int whichButton) |
ListView |
getListView() |
void |
installContent() |
boolean |
onKeyDown(int keyCode,
android.view.KeyEvent event) |
boolean |
onKeyUp(int keyCode,
android.view.KeyEvent event) |
void |
setButton(int whichButton,
java.lang.CharSequence text,
android.content.DialogInterface.OnClickListener listener,
android.os.Message msg) |
void |
setButtonBehavior(int buttonBehavior) |
void |
setCustomTitle(android.view.View customTitleView) |
void |
setIcon(android.graphics.drawable.Drawable icon) |
void |
setIcon(int resId) |
void |
setInverseBackgroundForced(boolean forceInverseBackground) |
void |
setMessage(java.lang.CharSequence message) |
void |
setTitle(java.lang.CharSequence title) |
void |
setView(android.view.View view) |
void |
setView(android.view.View view,
int viewSpacingLeft,
int viewSpacingTop,
int viewSpacingRight,
int viewSpacingBottom) |
public AlertController(android.content.Context context,
android.content.DialogInterface di,
android.view.Window window)
public AlertController(android.content.Context context,
android.content.DialogInterface di,
android.view.Window window,
AlertController.AlertDecorViewInstaller decorViewInstaller)
public Button getButton(int whichButton)
public ListView getListView()
public void installContent()
public boolean onKeyDown(int keyCode,
android.view.KeyEvent event)
public boolean onKeyUp(int keyCode,
android.view.KeyEvent event)
public void setButton(int whichButton,
java.lang.CharSequence text,
android.content.DialogInterface.OnClickListener listener,
android.os.Message msg)
public void setButtonBehavior(int buttonBehavior)
public void setCustomTitle(android.view.View customTitleView)
public void setIcon(android.graphics.drawable.Drawable icon)
public void setIcon(int resId)
public void setInverseBackgroundForced(boolean forceInverseBackground)
public void setMessage(java.lang.CharSequence message)
public void setTitle(java.lang.CharSequence title)
public void setView(android.view.View view)
public void setView(android.view.View view,
int viewSpacingLeft,
int viewSpacingTop,
int viewSpacingRight,
int viewSpacingBottom)
Copyright © 2012-2013. All Rights Reserved.