Constructor and Description |
---|
Select() |
Modifier and Type | Method and Description |
---|---|
void |
addOption(String text) |
void |
addOption(String text,
String value) |
void |
addOption(String text,
String value,
Boolean selected) |
void |
addOption(String text,
String subText,
String value,
Boolean selected) |
void |
disable() |
void |
enable() |
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
org.jboss.errai.common.client.dom.OptionsCollection |
getOptions() |
String |
getValue() |
void |
refresh() |
void |
refresh(Consumer<Select> consumer) |
void |
removeAllOptions() |
void |
setLiveSearch(Boolean liveSearch) |
void |
setTitle(String title) |
void |
setValue(String value) |
void |
setWidth(String width) |
public org.jboss.errai.common.client.dom.HTMLElement getElement()
getElement
in interface org.jboss.errai.common.client.api.IsElement
public void addOption(String text)
public org.jboss.errai.common.client.dom.OptionsCollection getOptions()
public void removeAllOptions()
public void refresh()
public String getValue()
getValue
in interface com.google.gwt.user.client.TakesValue<String>
public void setValue(String value)
setValue
in interface com.google.gwt.user.client.TakesValue<String>
public void enable()
public void disable()
public void setTitle(String title)
public void setLiveSearch(Boolean liveSearch)
public void setWidth(String width)
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.