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