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_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
WAI_ARIA
ACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEY
PROPERTY_TITLE
PROPERTY_SUMMARY
ATTRIBUTE_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, setValueAsString
clearValidationFailureSetCount, 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, verifyNotDisposed
addStyle, 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, setUiWidget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAbsoluteImageUrl, createLabel, getToplevelWidget, isStyleDeltaSupported, removeFromParent, setEventSender, setMode, setParent, setVisible
setId
getId
setTooltip
getTooltip
setEnabled
isEnabled
addStyle, removeStyle
hasStyle
setStyles
getStyles
setPrimaryStyle
getPrimaryStyle
dispose
isDisposed
setLength
getLength
getHeightInPixel, getWidthInPixel
getAttribute
setAttribute
isFocused
setFocused
setAccessKey
getAccessKey
setValue
getValue
setValueAsString
getValueAsString
setValidationFailure
getValidationFailure
getMaximumTextLength
getAltText
getUrl
getImage
getSelectionMode
getTitle
private 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.