VALUE
- is the generic type of the value
.public abstract class UiWidgetAdapterTestNumberField<VALUE extends Number> extends UiWidgetAdapterTestField<VALUE,VALUE> implements UiWidgetAdapterNumberField<VALUE>
UiWidgetAdapterNumberField
for testing without a native toolkit.Modifier and Type | Field and Description |
---|---|
private VALUE |
max |
private VALUE |
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 |
---|
UiWidgetAdapterTestNumberField()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
VALUE |
getMaximumValue()
This method gets the maximum
value of this object. |
VALUE |
getMinimumValue()
This method gets the minimum
value of this object. |
void |
setMaximumValue(VALUE maximum)
This method sets the
maximum value of this object. |
void |
setMinimumValue(VALUE minimum)
This method sets the
minimum value of this object. |
convertValueFromString, 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 VALUE extends Number min
getMinimumValue()
private VALUE extends Number max
getMaximumValue()
public UiWidgetAdapterTestNumberField()
public VALUE getMinimumValue()
value
of this object. A legal value
has
to be greater or equal to this minimum
.getMinimumValue
in interface AttributeReadMinimumValue<VALUE extends Number>
value
or
null
if unbounded.public void setMinimumValue(VALUE minimum)
minimum value
of this object. value
. This should be avoided as it may
have undesired effects.setMinimumValue
in interface AttributeWriteMinimumValue<VALUE extends Number>
minimum
- is the new maximum value
to set. Use e.g. Integer.MAX_VALUE
to
unset.public VALUE getMaximumValue()
value
of this object. A legal value
has
to be less or equal to this maximum
.getMaximumValue
in interface AttributeReadMaximumValue<VALUE extends Number>
value
or
null
if unbounded.public void setMaximumValue(VALUE maximum)
maximum value
of this object. value
. This should be avoided as it may
have undesired effects.setMaximumValue
in interface AttributeWriteMaximumValue<VALUE extends Number>
maximum
- is the new maximum value
to set. Use e.g. Integer.MAX_VALUE
to
unset.Copyright © 2001–2016 mmm-Team. All rights reserved.