VALUE - is the generic type of the value.ADAPTER_VALUE - is the generic type of the value of the adapted
widget.public abstract class UiWidgetAdapterTestField<VALUE,ADAPTER_VALUE> extends UiWidgetAdapterTest implements UiWidgetAdapterField<VALUE,ADAPTER_VALUE>
UiWidgetAdapterField for testing without a native toolkit.| Modifier and Type | Field and Description |
|---|---|
private ADAPTER_VALUE |
value |
private String |
valueAsString |
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 |
|---|
UiWidgetAdapterTestField()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract ADAPTER_VALUE |
convertValueFromString(String stringValue) |
ADAPTER_VALUE |
getValue()
This method gets the value of this object.
|
String |
getValueAsString()
|
void |
setValue(ADAPTER_VALUE value)
This method sets the
value. |
void |
setValueAsString(String valueAsString)
This method sets the
valueAsString of this object. |
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, 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, getWidthInPixelgetAttributesetAttributeisFocusedsetFocusedsetAccessKeygetAccessKeysetValidationFailuregetValidationFailuregetMaximumTextLengthgetAltTextgetUrlgetImagegetSelectionModegetTitleprivate ADAPTER_VALUE value
getValue()private String valueAsString
getValueAsString()public ADAPTER_VALUE getValue()
getValue in interface AttributeReadValue<ADAPTER_VALUE>null unless otherwise stated.protected abstract ADAPTER_VALUE convertValueFromString(String stringValue)
stringValue - is the value as String.public void setValue(ADAPTER_VALUE value)
value.setValue in interface AttributeWriteValue<ADAPTER_VALUE>value - is the new value. May be null unless otherwise stated.public String getValueAsString()
value as
String. It returns the value as it is entered by the end-user that may be invalid.getValueAsString in interface AttributeReadValueAsStringString if the field is blank.public void setValueAsString(String valueAsString)
valueAsString of this object. setValueAsString in interface AttributeWriteValueAsStringvalueAsString - is the new value as it would have been entered by the user.Copyright © 2001–2016 mmm-Team. All rights reserved.