Build 1.1_r1 (from source)

android.content
Interface DialogInterface

All Known Implementing Classes:
AlertDialog, CharacterPickerDialog, DatePickerDialog, Dialog, MockDialogInterface, ProgressDialog, SearchDialog, SoftInputWindow, TimePickerDialog

public interface DialogInterface


Nested Class Summary
static interface DialogInterface.OnCancelListener
          Interface used to allow the creator of a dialog to run some code when the dialog is canceled.
static interface DialogInterface.OnClickListener
          Interface used to allow the creator of a dialog to run some code when an item on the dialog is clicked..
static interface DialogInterface.OnDismissListener
          Interface used to allow the creator of a dialog to run some code when the dialog is dismissed.
static interface DialogInterface.OnKeyListener
          Interface definition for a callback to be invoked when a key event is dispatched to this dialog.
static interface DialogInterface.OnMultiChoiceClickListener
          Interface used to allow the creator of a dialog to run some code when an item in a multi-choice dialog is clicked.
 
Field Summary
static int BUTTON_NEGATIVE
          The identifier for the negative button.
static int BUTTON_NEUTRAL
          The identifier for the neutral button.
static int BUTTON_POSITIVE
          The identifier for the positive button.
static int BUTTON1
          Deprecated. Use BUTTON_POSITIVE
static int BUTTON2
          Deprecated. Use BUTTON_NEGATIVE
static int BUTTON3
          Deprecated. Use BUTTON_NEUTRAL
 
Method Summary
 void cancel()
           
 void dismiss()
           
 

Field Detail

BUTTON_POSITIVE

static final int BUTTON_POSITIVE
The identifier for the positive button.

See Also:
Constant Field Values

BUTTON_NEGATIVE

static final int BUTTON_NEGATIVE
The identifier for the negative button.

See Also:
Constant Field Values

BUTTON_NEUTRAL

static final int BUTTON_NEUTRAL
The identifier for the neutral button.

See Also:
Constant Field Values

BUTTON1

@Deprecated
static final int BUTTON1
Deprecated. Use BUTTON_POSITIVE
See Also:
Constant Field Values

BUTTON2

@Deprecated
static final int BUTTON2
Deprecated. Use BUTTON_NEGATIVE
See Also:
Constant Field Values

BUTTON3

@Deprecated
static final int BUTTON3
Deprecated. Use BUTTON_NEUTRAL
See Also:
Constant Field Values
Method Detail

cancel

void cancel()

dismiss

void dismiss()

Build 1.1_r1 (from source)

Please submit a feedback, bug or feature