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() |
java.lang.String |
getSelectedValue()
Gets the value of the selected option
|
void |
setItems(GXTextValueList items)
Sets a predefined text/value list
|
void |
setSelectedValue(java.lang.String selectedValue)
used for setting the option with the specified value
|
copyFrom, getAttribute, getBottomMargin, getBottomPadding, getChildren, getContent, getHostField, getId, getLength, getOffsetHeight, getOffsetLeft, getOffsetRight, getOffsetTop, getParent, getPosition, getTagName, getTopMargin, getTopPadding, hasChildren, isVisible, removeAttribute, setAttribute, setBottomMargin, setBottomPadding, setId, setLength, setOffsetHeight, setOffsetLeft, setOffsetRight, setOffsetTop, setPosition, setPosition, setTopMargin, setTopPadding, setVisible, setVisible
GXTextValueList getItems()
void setItems(GXTextValueList items)
items
- The combo box itemsjava.lang.String getSelectedValue()
void setSelectedValue(java.lang.String selectedValue)
selectedValue
- The option valueCopyright 2018 Software AG. All rights reserved. Use is subject to license terms.