getButton
Gets one of the buttons used in the dialog. Returns null if the specified button does not exist or the dialog has not yet been fully created (for example, via show or create).
Return
The button from the dialog, or null if a button does not exist.
Parameters
whichButton
The identifier of the button that should be returned. For example, this can be BUTTON_POSITIVE.