public class UiWidgetAdapterTestIntegerField extends UiWidgetAdapterTestField<Integer,Integer> implements UiWidgetAdapterIntegerField, UiWidgetAdapterIntegerSliderField
UiWidgetAdapterIntegerField
for testing without a native toolkit.Modifier and Type | Field and Description |
---|---|
private Integer |
max |
private Integer |
min |
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
ACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEY
PROPERTY_TITLE
PROPERTY_SUMMARY
ATTRIBUTE_COLSPAN
Constructor and Description |
---|
UiWidgetAdapterTestIntegerField()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Integer |
convertValueFromString(String stringValue) |
Integer |
getMaximumValue()
This method gets the maximum
value of this object. |
Integer |
getMinimumValue()
This method gets the minimum
value of this object. |
void |
setMaximumValue(Integer maximum)
This method sets the
maximum value of this object. |
void |
setMinimumValue(Integer minimum)
This method sets the
minimum value 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
setMaximumTextLength
getMaximumTextLength
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
getAltText
getUrl
getImage
getSelectionMode
getTitle
private Integer min
getMinimumValue()
private Integer max
getMaximumValue()
public UiWidgetAdapterTestIntegerField()
public Integer getMinimumValue()
value
of this object. A legal value
has
to be greater or equal to this minimum
.getMinimumValue
in interface AttributeReadMinimumValue<Integer>
value
or
null
if unbounded.public void setMinimumValue(Integer minimum)
minimum value
of this object. value
. This should be avoided as it may
have undesired effects.setMinimumValue
in interface AttributeWriteMinimumValue<Integer>
minimum
- is the new maximum value
to set. Use e.g. Integer.MAX_VALUE
to
unset.public Integer getMaximumValue()
value
of this object. A legal value
has
to be less or equal to this maximum
.getMaximumValue
in interface AttributeReadMaximumValue<Integer>
value
or
null
if unbounded.public void setMaximumValue(Integer maximum)
maximum value
of this object. value
. This should be avoided as it may
have undesired effects.setMaximumValue
in interface AttributeWriteMaximumValue<Integer>
maximum
- is the new maximum value
to set. Use e.g. Integer.MAX_VALUE
to
unset.protected Integer convertValueFromString(String stringValue)
convertValueFromString
in class UiWidgetAdapterTestField<Integer,Integer>
stringValue
- is the value as String
.Copyright © 2001–2016 mmm-Team. All rights reserved.