public class ComboBoxViewImpl extends Object implements ComboBoxView
ComboBoxView.ComboBoxPresenter, ComboBoxView.ModelPresenter
Modifier and Type | Field and Description |
---|---|
protected org.gwtbootstrap3.client.ui.ValueListBox<String> |
listBox |
protected boolean |
listBoxHasFocus |
protected ComboBoxView.ModelPresenter |
modelPresenter |
protected ComboBoxView.ComboBoxPresenter |
presenter |
protected org.gwtbootstrap3.client.ui.TextBox |
textBox |
Constructor and Description |
---|
ComboBoxViewImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getListBoxValue() |
String |
getModelValue() |
String |
getValue() |
void |
init(ComboBoxView.ComboBoxPresenter presenter,
ComboBoxView.ModelPresenter modelPresenter,
org.gwtbootstrap3.client.ui.ValueListBox<String> listBox,
org.gwtbootstrap3.client.ui.TextBox textBox,
String placeholder) |
void |
listBoxGotFocus() |
void |
setAcceptableValues(List<String> acceptableValues) |
void |
setListBoxModelValue(String value) |
void |
setListBoxValue(String value) |
void |
setListBoxVisible(boolean visible) |
void |
setTextBoxFocus(boolean focus) |
void |
setTextBoxModelValue(String value) |
void |
setTextBoxValue(String value) |
void |
setTextBoxVisible(boolean visible) |
void |
textBoxGotFocus() |
void |
textBoxLostFocus() |
protected ComboBoxView.ComboBoxPresenter presenter
protected ComboBoxView.ModelPresenter modelPresenter
protected org.gwtbootstrap3.client.ui.ValueListBox<String> listBox
protected org.gwtbootstrap3.client.ui.TextBox textBox
protected boolean listBoxHasFocus
public void init(ComboBoxView.ComboBoxPresenter presenter, ComboBoxView.ModelPresenter modelPresenter, org.gwtbootstrap3.client.ui.ValueListBox<String> listBox, org.gwtbootstrap3.client.ui.TextBox textBox, String placeholder)
init
in interface ComboBoxView
public String getModelValue()
getModelValue
in interface ComboBoxView
public void setTextBoxModelValue(String value)
setTextBoxModelValue
in interface ComboBoxView
public void setListBoxModelValue(String value)
setListBoxModelValue
in interface ComboBoxView
public String getListBoxValue()
getListBoxValue
in interface ComboBoxView
public void setListBoxValue(String value)
setListBoxValue
in interface ComboBoxView
public void setTextBoxValue(String value)
setTextBoxValue
in interface ComboBoxView
public void setTextBoxVisible(boolean visible)
setTextBoxVisible
in interface ComboBoxView
public void setListBoxVisible(boolean visible)
setListBoxVisible
in interface ComboBoxView
public void setTextBoxFocus(boolean focus)
setTextBoxFocus
in interface ComboBoxView
public void textBoxGotFocus()
textBoxGotFocus
in interface ComboBoxView
public void textBoxLostFocus()
textBoxLostFocus
in interface ComboBoxView
public void listBoxGotFocus()
listBoxGotFocus
in interface ComboBoxView
public void setAcceptableValues(List<String> acceptableValues)
setAcceptableValues
in interface ComboBoxView
public String getValue()
getValue
in interface ComboBoxView
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.