public abstract class InputClickCallback<T,W extends Widget & HasText & HasKeyDownHandlers & HasKeyUpHandlers> extends ClickCallback<T>
NOTE: the input popup replaces the confirmation popup.
| Constructor and Description |
|---|
InputClickCallback(HasClickHandlers trigger,
W textInputWidget)
Creates a new click handler for the given trigger.
|
| Modifier and Type | Method and Description |
|---|---|
InputClickCallback<T,W> |
setBindEnterKey(boolean value)
Sets whether or not pressing the enter key while typing will cause the confirmation to
occur.
|
InputClickCallback<T,W> |
setPromptHTML(String promptHTML)
Sets the html to be shown above the input explaining what the user should do.
|
InputClickCallback<T,W> |
setPromptText(String prompt)
Sets the text to be shown above the input explaining what the user should do.
|
onFailure, onSuccess, setConfirmChoices, setConfirmHTML, setConfirmTextpublic InputClickCallback(HasClickHandlers trigger, W textInputWidget)
public InputClickCallback<T,W> setPromptText(String prompt)
ClickCallback.setConfirmText(String), but is included here for clarity.public InputClickCallback<T,W> setPromptHTML(String promptHTML)
ClickCallback.setConfirmHTML(String), but is included here for clarity.public InputClickCallback<T,W> setBindEnterKey(boolean value)
Copyright © 2013. All Rights Reserved.