Java android.app DatePickerDialog fields, constructors, methods, implement or subclass

Example usage for Java android.app DatePickerDialog fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.app DatePickerDialog.

The text is from its open source code.

Subclass

android.app.DatePickerDialog has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voiddismiss()
Dismiss this dialog, removing it from the screen.
ButtongetButton(int whichButton)
Gets one of the buttons used in the dialog.
ClassgetClass()
Returns the runtime class of this Object .
DatePickergetDatePicker()
Returns the DatePicker contained in this dialog.
WindowgetWindow()
Retrieve the current Window for the activity.
voidsetButton(int whichButton, CharSequence text, Message msg)
Set a message to be sent when a button is pressed.
voidsetCustomTitle(View customTitleView)
voidsetMessage(CharSequence message)
voidsetOnCancelListener(@Nullable OnCancelListener listener)
Set a listener to be invoked when the dialog is canceled.
voidsetOnKeyListener(@Nullable OnKeyListener onKeyListener)
Sets the callback that will be called if a key is dispatched to the dialog.
voidsetOnShowListener(@Nullable OnShowListener listener)
Sets a listener to be invoked when the dialog is shown.
voidsetTitle(CharSequence title)
voidshow()
Start the dialog and display it on screen.
voidupdateDate(int year, int month, int dayOfMonth)
Sets the current date.