/**@class android.content.DialogInterface Interface that defines a dialog-type class that can be shown, dismissed, or canceled, and may have buttons that can be clicked. */ var DialogInterface = { /**The identifier for the positive button. */ BUTTON_POSITIVE : "-1", /**The identifier for the negative button. */ BUTTON_NEGATIVE : "-2", /**The identifier for the neutral button. */ BUTTON_NEUTRAL : "-3", /**@deprecated Use {@link #BUTTON_POSITIVE} */ BUTTON1 : "-1", /**@deprecated Use {@link #BUTTON_NEGATIVE} */ BUTTON2 : "-2", /**@deprecated Use {@link #BUTTON_NEUTRAL} */ BUTTON3 : "-3", /**Cancels the dialog, invoking the {@link android.content.DialogInterface.OnCancelListener}. <p> The {@link android.content.DialogInterface.OnDismissListener} may also be called if cancellation dismisses the dialog. */ cancel : function( ) {}, /**Dismisses the dialog, invoking the {@link android.content.DialogInterface.OnDismissListener}. */ dismiss : function( ) {}, };