Underlying security services instantiate and pass a TextInputCallback to the handle method of a CallbackHandler to retrieve generic text information.
Underlying security services instantiate and pass a TextInputCallback to the handle method of a CallbackHandler to retrieve generic text information.
(->text-input-callback prompt)(->text-input-callback prompt default-text)Constructor.
Construct a TextInputCallback with a prompt and default input value.
prompt - the prompt used to request the information. - java.lang.String
default-text - the text to be used as the default text displayed with the prompt. - java.lang.String
throws: java.lang.IllegalArgumentException - if prompt is null, if prompt has a length of 0, if defaultText is null or if defaultText has a length of 0.
Constructor. Construct a TextInputCallback with a prompt and default input value. prompt - the prompt used to request the information. - `java.lang.String` default-text - the text to be used as the default text displayed with the prompt. - `java.lang.String` throws: java.lang.IllegalArgumentException - if prompt is null, if prompt has a length of 0, if defaultText is null or if defaultText has a length of 0.
(get-default-text this)Get the default text.
returns: the default text, or null if this TextInputCallback
was not instantiated with defaultText. - java.lang.String
Get the default text.
returns: the default text, or null if this TextInputCallback
was not instantiated with defaultText. - `java.lang.String`(get-prompt this)Get the prompt.
returns: the prompt. - java.lang.String
Get the prompt. returns: the prompt. - `java.lang.String`
(get-text this)Get the retrieved text.
returns: the retrieved text, which may be null. - java.lang.String
Get the retrieved text. returns: the retrieved text, which may be null. - `java.lang.String`
(set-text this text)Set the retrieved text.
text - the retrieved text, which may be null. - java.lang.String
Set the retrieved text. text - the retrieved text, which may be null. - `java.lang.String`
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |