/**@class android.content.DialogInterface.OnClickListener Interface used to allow the creator of a dialog to run some code when an item on the dialog is clicked.. */ var OnClickListener = { /**This method will be invoked when a button in the dialog is clicked. @param {Object {DialogInterface}} dialog The dialog that received the click. @param {Number} which The button that was clicked (e.g. {@link DialogInterface#BUTTON1}) or the position of the item clicked. */ onClick : function( ) {}, };