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