Lines Matching defs:dialog

63      * Interface used to allow the creator of a dialog to run some code when the
64 * dialog is canceled.
66 * This will only be called when the dialog is canceled, if the creator
72 * This method will be invoked when the dialog is canceled.
74 * @param dialog The dialog that was canceled will be passed into the
77 public void onCancel(DialogInterface dialog);
81 * Interface used to allow the creator of a dialog to run some code when the
82 * dialog is dismissed.
86 * This method will be invoked when the dialog is dismissed.
88 * @param dialog The dialog that was dismissed will be passed into the
91 public void onDismiss(DialogInterface dialog);
95 * Interface used to allow the creator of a dialog to run some code when the
96 * dialog is shown.
100 * This method will be invoked when the dialog is shown.
102 * @param dialog The dialog that was shown will be passed into the
105 public void onShow(DialogInterface dialog);
109 * Interface used to allow the creator of a dialog to run some code when an
110 * item on the dialog is clicked..
114 * This method will be invoked when a button in the dialog is clicked.
116 * @param dialog The dialog that received the click.
122 public void onClick(DialogInterface dialog, int which);
126 * Interface used to allow the creator of a dialog to run some code when an
127 * item in a multi-choice dialog is clicked.
131 * This method will be invoked when an item in the dialog is clicked.
133 * @param dialog The dialog where the selection was made.
137 public void onClick(DialogInterface dialog, int which, boolean isChecked);
142 * dispatched to this dialog. The callback will be invoked before the key
143 * event is given to the dialog.
147 * Called when a key is dispatched to a dialog. This allows listeners to
148 * get a chance to respond before the dialog.
150 * @param dialog The dialog the key has been dispatched to.
156 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event);