public static class TimePickerDialog.Builder extends Dialog.Builder implements TimePickerDialog.OnTimeChangedListener
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<TimePickerDialog.Builder> |
CREATOR |
protected int |
mHour |
protected int |
mMinute |
mContentViewId, mDialog, mNegative, mNeutral, mPositive, mStyleId, mTitle| Modifier | Constructor and Description |
|---|---|
|
TimePickerDialog.Builder() |
|
TimePickerDialog.Builder(int hourOfDay,
int minute) |
|
TimePickerDialog.Builder(int styleId,
int hourOfDay,
int minute) |
protected |
TimePickerDialog.Builder(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
Dialog.Builder |
contentView(int layoutId) |
int |
getHour() |
int |
getMinute() |
TimePickerDialog.Builder |
hour(int hour) |
TimePickerDialog.Builder |
minute(int minute) |
protected Dialog |
onBuild(android.content.Context context,
int styleId) |
protected void |
onReadFromParcel(android.os.Parcel in) |
void |
onTimeChanged(int oldHour,
int oldMinute,
int newHour,
int newMinute) |
protected void |
onWriteToParcel(android.os.Parcel dest,
int flags) |
build, describeContents, negativeAction, neutralAction, onNegativeActionClicked, onNeutralActionClicked, onPositiveActionClicked, positiveAction, style, title, writeToParcelprotected int mHour
protected int mMinute
public static final android.os.Parcelable.Creator<TimePickerDialog.Builder> CREATOR
public TimePickerDialog.Builder()
public TimePickerDialog.Builder(int hourOfDay,
int minute)
public TimePickerDialog.Builder(int styleId,
int hourOfDay,
int minute)
protected TimePickerDialog.Builder(android.os.Parcel in)
public TimePickerDialog.Builder hour(int hour)
public TimePickerDialog.Builder minute(int minute)
public int getHour()
public int getMinute()
public Dialog.Builder contentView(int layoutId)
contentView in class Dialog.Builderprotected Dialog onBuild(android.content.Context context, int styleId)
onBuild in class Dialog.Builderpublic void onTimeChanged(int oldHour,
int oldMinute,
int newHour,
int newMinute)
onTimeChanged in interface TimePickerDialog.OnTimeChangedListenerprotected void onWriteToParcel(android.os.Parcel dest,
int flags)
onWriteToParcel in class Dialog.Builderprotected void onReadFromParcel(android.os.Parcel in)
onReadFromParcel in class Dialog.Builder