Package org.robolectric.shadows
Class ShadowDatePickerDialog
- java.lang.Object
-
- org.robolectric.shadows.ShadowDialog
-
- org.robolectric.shadows.ShadowAlertDialog
-
- org.robolectric.shadows.ShadowDatePickerDialog
-
@Implements(android.app.DatePickerDialog.class) public class ShadowDatePickerDialog extends ShadowAlertDialog
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowAlertDialog
ShadowAlertDialog.ShadowBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected DatePickerDialog
realDatePickerDialog
-
Fields inherited from class org.robolectric.shadows.ShadowDialog
title
-
-
Constructor Summary
Constructors Constructor Description ShadowDatePickerDialog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
__constructor__(Context context, int theme, DatePickerDialog.OnDateSetListener callBack, Calendar calendar, int year, int monthOfYear, int dayOfMonth)
Calendar
getCalendar()
int
getDayOfMonth()
int
getMonthOfYear()
DatePickerDialog.OnDateSetListener
getOnDateSetListenerCallback()
int
getYear()
-
Methods inherited from class org.robolectric.shadows.ShadowAlertDialog
clickOnItem, getAdapter, getCustomTitleView, getCustomView, getIconId, getItems, getLatestAlertDialog, getMessage, getTitle, getView, reset, show
-
Methods inherited from class org.robolectric.shadows.ShadowDialog
callOnCreate, clickOn, clickOnText, clickOnText, dismiss, getLatestDialog, getOnCancelListener, getShownDialogs, hasBeenDismissed, isCancelable, isCancelableOnTouchOutside, setCanceledOnTouchOutside, setLatestDialog, setOnCancelListener
-
-
-
-
Field Detail
-
realDatePickerDialog
@RealObject protected DatePickerDialog realDatePickerDialog
-
-
Method Detail
-
__constructor__
@Implementation(minSdk=24) protected void __constructor__(Context context, int theme, DatePickerDialog.OnDateSetListener callBack, Calendar calendar, int year, int monthOfYear, int dayOfMonth)
-
getCalendar
public Calendar getCalendar()
-
getYear
public int getYear()
-
getMonthOfYear
public int getMonthOfYear()
-
getDayOfMonth
public int getDayOfMonth()
-
getOnDateSetListenerCallback
public DatePickerDialog.OnDateSetListener getOnDateSetListenerCallback()
-
-