public class ComboBox extends Object implements ComboBoxView.ComboBoxPresenter
| Modifier and Type | Field and Description |
|---|---|
protected String |
currentTextValue |
protected String |
customPrompt |
protected ListBoxValues |
listBoxValues |
protected boolean |
quoteStringValues |
protected boolean |
showCustomValues |
| Constructor and Description |
|---|
ComboBox() |
| Modifier and Type | Method and Description |
|---|---|
String |
addCustomValueToListBoxValues(String newValue,
String oldValue) |
ListBoxValues |
getListBoxValues() |
String |
getValue() |
void |
init(ComboBoxView.ModelPresenter modelPresenter,
org.gwtbootstrap3.client.ui.ValueListBox<String> listBox,
org.gwtbootstrap3.client.ui.TextBox textBox,
boolean quoteStringValues,
String customPrompt,
String placeholder) |
void |
listBoxValueChanged(String newValue) |
void |
setCurrentTextValue(String currentTextValue) |
void |
setListBoxValue(String value) |
void |
setListBoxValues(ListBoxValues listBoxValues) |
void |
setShowCustomValues(boolean showCustomValues) |
void |
setTextBoxValue(String value) |
void |
textBoxValueChanged(String newValue) |
void |
updateListBoxValues(String listBoxValue) |
protected ListBoxValues listBoxValues
protected boolean showCustomValues
protected String currentTextValue
protected boolean quoteStringValues
protected String customPrompt
public void init(ComboBoxView.ModelPresenter modelPresenter, org.gwtbootstrap3.client.ui.ValueListBox<String> listBox, org.gwtbootstrap3.client.ui.TextBox textBox, boolean quoteStringValues, String customPrompt, String placeholder)
init in interface ComboBoxView.ComboBoxPresenterpublic String getValue()
getValue in interface ComboBoxView.ComboBoxPresenterpublic void setListBoxValues(ListBoxValues listBoxValues)
setListBoxValues in interface ComboBoxView.ComboBoxPresenterpublic void setShowCustomValues(boolean showCustomValues)
setShowCustomValues in interface ComboBoxView.ComboBoxPresenterpublic void setCurrentTextValue(String currentTextValue)
setCurrentTextValue in interface ComboBoxView.ComboBoxPresenterpublic ListBoxValues getListBoxValues()
getListBoxValues in interface ComboBoxView.ComboBoxPresenterpublic void updateListBoxValues(String listBoxValue)
updateListBoxValues in interface ComboBoxView.ComboBoxPresenterpublic void listBoxValueChanged(String newValue)
listBoxValueChanged in interface ComboBoxView.ComboBoxPresenterpublic void textBoxValueChanged(String newValue)
textBoxValueChanged in interface ComboBoxView.ComboBoxPresenterpublic String addCustomValueToListBoxValues(String newValue, String oldValue)
addCustomValueToListBoxValues in interface ComboBoxView.ComboBoxPresenterpublic void setTextBoxValue(String value)
public void setListBoxValue(String value)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.