public class GGInputInt
extends java.lang.Object
| Constructor and Description |
|---|
GGInputInt(java.lang.String title,
java.lang.String prompt)
Creates a modal dialog with given title, prompt and no initial value.
|
GGInputInt(java.lang.String title,
java.lang.String prompt,
int init)
Creates a modal dialog with given title, prompt and initial value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
show()
Returns the user input.
|
public GGInputInt(java.lang.String title,
java.lang.String prompt,
int init)
title - the title string in the title barprompt - the prompt stringinit - an initial value put in the text fieldpublic GGInputInt(java.lang.String title,
java.lang.String prompt)
title - the title string in the title barprompt - the prompt string