Class Select
- java.lang.Object
-
- org.uberfire.client.views.pfly.widgets.Select
-
-
Constructor Summary
Constructors Constructor Description Select()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOption(String text)voidaddOption(String text, String value)voidaddOption(String text, String value, Boolean selected)voidaddOption(String text, String subText, String value, Boolean selected)voiddisable()voidenable()org.jboss.errai.common.client.dom.HTMLElementgetElement()org.jboss.errai.common.client.dom.OptionsCollectiongetOptions()StringgetValue()voidhide()voidinit()voidrefresh()voidrefresh(Consumer<Select> consumer)voidremoveAllOptions()voidsetLiveSearch(Boolean liveSearch)voidsetTitle(String title)voidsetValue(String value)voidsetWidth(String width)voidshow()voidtoggle()
-
-
-
Method Detail
-
getElement
public org.jboss.errai.common.client.dom.HTMLElement getElement()
- Specified by:
getElementin interfaceorg.jboss.errai.common.client.api.IsElement
-
addOption
public void addOption(String text)
-
getOptions
public org.jboss.errai.common.client.dom.OptionsCollection getOptions()
-
removeAllOptions
public void removeAllOptions()
-
refresh
public void refresh()
-
getValue
public String getValue()
- Specified by:
getValuein interfacecom.google.gwt.user.client.TakesValue<String>
-
setValue
public void setValue(String value)
- Specified by:
setValuein interfacecom.google.gwt.user.client.TakesValue<String>
-
enable
public void enable()
-
disable
public void disable()
-
hide
public void hide()
-
show
public void show()
-
toggle
public void toggle()
-
setTitle
public void setTitle(String title)
-
setLiveSearch
public void setLiveSearch(Boolean liveSearch)
-
setWidth
public void setWidth(String width)
-
init
public void init()
-
-