public class DatePickerDialog extends AlertDialog implements android.content.DialogInterface.OnClickListener, DatePicker.OnDateChangedListener
| Modifier and Type | Class and Description |
|---|---|
static interface |
DatePickerDialog.OnDateSetListener |
AlertDialog.Builderandroid.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListenerTHEME_HOLO_DARK, THEME_HOLO_LIGHT| Constructor and Description |
|---|
DatePickerDialog(android.content.Context context,
DatePickerDialog.OnDateSetListener callBack,
int year,
int monthOfYear,
int dayOfMonth) |
DatePickerDialog(android.content.Context context,
int theme,
DatePickerDialog.OnDateSetListener callBack,
int year,
int monthOfYear,
int dayOfMonth) |
| Modifier and Type | Method and Description |
|---|---|
DatePicker |
getDatePicker() |
void |
onClick(android.content.DialogInterface dialog,
int which) |
void |
onDateChanged(DatePicker view,
int year,
int month,
int day) |
void |
onRestoreInstanceState(android.os.Bundle savedInstanceState) |
android.os.Bundle |
onSaveInstanceState() |
void |
updateDate(int year,
int monthOfYear,
int dayOfMonth) |
getButton, getListView, installDecorView, onCreate, onKeyDown, onKeyUp, setButton, setButton, setButton, setButton, setButton2, setButton2, setButton3, setButton3, setCustomTitle, setIcon, setIcon, setIconAttribute, setInverseBackgroundForced, setMessage, setTitle, setView, setViewaddContentView, createContextMenu, getLayoutInflater, onContextItemSelected, onContextItemSelected, onContextMenuClosed, onContextMenuClosed, onCreateContextMenu, onCreateContextMenu, prepareDecorView, setCancelable, setContentView, setContentView, setContentViewcancel, closeOptionsMenu, dismiss, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getOwnerActivity, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyLongPress, onKeyMultiple, onKeyShortcut, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onSearchRequested, onStart, onStop, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, setCanceledOnTouchOutside, setCancelMessage, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenupublic DatePickerDialog(android.content.Context context,
int theme,
DatePickerDialog.OnDateSetListener callBack,
int year,
int monthOfYear,
int dayOfMonth)
public DatePickerDialog(android.content.Context context,
DatePickerDialog.OnDateSetListener callBack,
int year,
int monthOfYear,
int dayOfMonth)
public DatePicker getDatePicker()
public void onClick(android.content.DialogInterface dialog,
int which)
onClick in interface android.content.DialogInterface.OnClickListenerpublic void onDateChanged(DatePicker view, int year, int month, int day)
onDateChanged in interface DatePicker.OnDateChangedListenerpublic void onRestoreInstanceState(android.os.Bundle savedInstanceState)
onRestoreInstanceState in class android.app.Dialogpublic android.os.Bundle onSaveInstanceState()
onSaveInstanceState in class android.app.Dialogpublic void updateDate(int year,
int monthOfYear,
int dayOfMonth)
Copyright © 2012-2013. All Rights Reserved.