VALUE - is the generic type of the widget value.public class UiWidgetAdapterTestOptionsField<VALUE> extends UiWidgetAdapterTestField<VALUE,String> implements UiWidgetAdapterComboboxField<VALUE>
UiWidgetAdapterComboboxField for testing without a native toolkit.| Modifier and Type | Field and Description |
|---|---|
private List<String> |
options |
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_ARIAACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEYPROPERTY_TITLEPROPERTY_SUMMARYATTRIBUTE_COLSPAN| Constructor and Description |
|---|
UiWidgetAdapterTestOptionsField()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
convertValueFromString(String stringValue) |
List<String> |
getOptions()
This method gets the options of this object.
|
void |
setOptions(List<String> options)
This method sets the
options of this object. |
getValue, getValueAsString, setValue, setValueAsStringclearValidationFailureSetCount, createAbsoluteImageUrl, createToplevelWidget, dispose, getHeightInPixel, getLength, getSummary, getValidationFailure, getValidationFailureSetCount, getWidthInPixel, isCollapsed, isTitleVisible, removeFromParent, setAccessKey, setAltText, setAttribute, setCollapsed, setEnabled, setEventSender, setFocused, setId, setImage, setLabel, setLength, setMaximumTextLength, setSelectionMode, setStyles, setSummary, setTitle, setTitleVisible, setTooltip, setUrl, setValidationFailure, setVisible, verifyNotDisposedaddStyle, createLabel, getAccessKey, getActiveWidget, getAltText, getAttribute, getBundle, getColumnSpan, getContext, getHeightInRows, getId, getImage, getLabel, getMaximumTextLength, getPrimaryStyle, getSelectionMode, getStyles, getTitle, getTooltip, getToplevelWidget, getUiWidget, getUiWidgetTyped, getUrl, hasStyle, isDisposed, isEnabled, isFocused, isResizable, isStyleDeltaSupported, removeStyle, setMode, setParent, setPrimaryStyle, setUiWidgetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAbsoluteImageUrl, createLabel, getToplevelWidget, isStyleDeltaSupported, removeFromParent, setEventSender, setMode, setParent, setVisiblesetIdgetIdsetTooltipgetTooltipsetEnabledisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedsetLengthgetLengthgetHeightInPixel, getWidthInPixelgetAttributesetAttributeisFocusedsetFocusedsetAccessKeygetAccessKeysetValuegetValuesetValueAsStringgetValueAsStringsetValidationFailuregetValidationFailuregetMaximumTextLengthgetAltTextgetUrlgetImagegetSelectionModegetTitleprivate List<String> options
getOptions()public UiWidgetAdapterTestOptionsField()
public List<String> getOptions()
List shall not contain duplicate entries. It may contain the value
null.getOptions in interface AttributeReadOptions<String>List with all available options.public void setOptions(List<String> options)
options of this object. The options will be presented in their
order specified by the given List.setOptions in interface AttributeWriteOptions<String>options - is the new List of available options.protected String convertValueFromString(String stringValue)
convertValueFromString in class UiWidgetAdapterTestField<VALUE,String>stringValue - is the value as String.Copyright © 2001–2016 mmm-Team. All rights reserved.