public class GGAlertDialog
extends java.lang.Object
| Constructor and Description | 
|---|
GGAlertDialog()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addDialogListener(GGAlertDialogListener listener)
Registers the given GGAlertDialogListener to get callback notifications. 
 | 
void | 
showInputDialog(android.app.Activity activity,
               java.lang.String title,
               java.lang.String prompt,
               java.lang.String init)
Shows the modeless dialog box with an edit field and two buttons (Ok, Cancel). 
 | 
void | 
showInputDialog(java.lang.String title,
               java.lang.String prompt)
Same as show(String title, String prompt, String init) with init = "". 
 | 
void | 
showInputDialog(java.lang.String title,
               java.lang.String prompt,
               java.lang.String init)
Same as show(Activity activity, String title, String prompt, String init)
 with activity = GameGrid.myGameGrid; 
 | 
public void showInputDialog(android.app.Activity activity,
                   java.lang.String title,
                   java.lang.String prompt,
                   java.lang.String init)
activity - the activity where to show the dialogtitle - the title text of the dialog boxprompt - the prompt text of the dialog boxinit - the text shown in the edit field when the box pops-uppublic void showInputDialog(java.lang.String title,
                   java.lang.String prompt,
                   java.lang.String init)
public void showInputDialog(java.lang.String title,
                   java.lang.String prompt)
public void addDialogListener(GGAlertDialogListener listener)
listener - the GGAlertDialogListener to register