public interface GXIComboboxTag extends GXITag
An onNewCombobox
event is thrown when a new combo box is created by the renderer.
The method getContent()
returns the checked value of the combo box.
To create a new combo box use GXHtmlTagFactory.instance().newCombobox(...)
Modifier and Type | Method and Description |
---|---|
GXTextValueList |
getItems() |
String |
getSelectedValue()
Gets the value of the selected option
|
void |
setItems(GXTextValueList items)
Sets a predefined text/value list
|
void |
setSelectedValue(String selectedValue)
used for setting the option with the specified value
|
copyFrom, getAttribute, getChildren, getContent, getHostField, getId, getLength, getOffsetLeft, getOffsetRight, getOffsetTop, getParent, getPosition, getTagName, hasChildren, isVisible, removeAttribute, setAttribute, setId, setLength, setOffsetLeft, setOffsetRight, setOffsetTop, setPosition, setPosition, setVisible, setVisible
GXTextValueList getItems()
void setItems(GXTextValueList items)
items
- The combo box itemsString getSelectedValue()
void setSelectedValue(String selectedValue)
selectedValue
- The option valueCopyright 2015 Software AG. All rights reserved. Use is subject to license terms.