Package com.xffffff.wellfed.common
Class ConfirmDialog
- java.lang.Object
-
- com.xffffff.wellfed.common.ConfirmDialog
-
- Direct Known Subclasses:
ConfirmDeleteDialog
,ConfirmQuitDialog
public class ConfirmDialog extends java.lang.Object
The ConfirmDialog class provides a dialog for confirming user intentions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ConfirmDialog.OnConfirmListener
The OnQuitListener interface defines the onConfirm handler that is called when the user confirms.
-
Constructor Summary
Constructors Constructor Description ConfirmDialog(android.content.Context context, java.lang.String title, java.lang.String message, java.lang.String confirmButtonText, ConfirmDialog.OnConfirmListener onConfirmListener)
Constructs a ConfirmQuitDialog
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
show()
Shows the dialog
-
-
-
Constructor Detail
-
ConfirmDialog
public ConfirmDialog(android.content.Context context, java.lang.String title, java.lang.String message, java.lang.String confirmButtonText, ConfirmDialog.OnConfirmListener onConfirmListener)
Constructs a ConfirmQuitDialog- Parameters:
context
- the contexttitle
- the title of the dialogmessage
- the message of the dialogconfirmButtonText
- the text of the confirm buttononConfirmListener
- the OnConfirmListener
-
-