Parameters: - prompt - the prompt used to request the information.
Throws: - IllegalArgumentException - if prompt is null
or if prompt has a length of 0.
public TextInputCallback
(String prompt, String defaultText)
Construct a TextInputCallback with a prompt
and default input value.
Construct a TextInputCallback with a prompt
and default input value.
Parameters: - prompt - the prompt used to request the information.
- defaultText - the text to be used as the default text displayed
with the prompt.
Throws: - IllegalArgumentException - if prompt is null,
if prompt has a length of 0,
if defaultText is null
or if defaultText has a length of 0.