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.ObjectThe ConfirmDialog class provides a dialog for confirming user intentions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConfirmDialog.OnConfirmListenerThe 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 voidshow()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
-
-