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.ComboBoxPresenter
public String getValue()
getValue
in interface ComboBoxView.ComboBoxPresenter
public void setListBoxValues(ListBoxValues listBoxValues)
setListBoxValues
in interface ComboBoxView.ComboBoxPresenter
public void setShowCustomValues(boolean showCustomValues)
setShowCustomValues
in interface ComboBoxView.ComboBoxPresenter
public void setCurrentTextValue(String currentTextValue)
setCurrentTextValue
in interface ComboBoxView.ComboBoxPresenter
public ListBoxValues getListBoxValues()
getListBoxValues
in interface ComboBoxView.ComboBoxPresenter
public void updateListBoxValues(String listBoxValue)
updateListBoxValues
in interface ComboBoxView.ComboBoxPresenter
public void listBoxValueChanged(String newValue)
listBoxValueChanged
in interface ComboBoxView.ComboBoxPresenter
public void textBoxValueChanged(String newValue)
textBoxValueChanged
in interface ComboBoxView.ComboBoxPresenter
public String addCustomValueToListBoxValues(String newValue, String oldValue)
addCustomValueToListBoxValues
in interface ComboBoxView.ComboBoxPresenter
public void setTextBoxValue(String value)
public void setListBoxValue(String value)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.