public abstract class SlideDateTimeListener
extends java.lang.Object
This listener class informs the client when the user sets a date and time by pressing "OK", or cancels the dialog.
Overriding onDateTimeCancel() is optional. The client
can override this to listen for when the user cancels the dialog.
This is called when the user presses the dialog's Cancel button,
touches outside the dialog or presses the device's Back button.
| Constructor and Description |
|---|
SlideDateTimeListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onDateTimeCancel()
Informs the client when the user cancels the
dialog by pressing Cancel, touching outside
the dialog or pressing the Back button.
|
abstract void |
onDateTimeSet(java.util.Date date)
Informs the client when the user presses "OK"
and selects a date and time.
|
public abstract void onDateTimeSet(java.util.Date date)
date - The Date object that contains the date
and time that the user has selected.public void onDateTimeCancel()