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_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEYPROPERTY_TITLEPROPERTY_SUMMARYATTRIBUTE_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, 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, waitsetMaximumTextLengthgetMaximumTextLengthcreateAbsoluteImageUrl, createLabel, getToplevelWidget, isStyleDeltaSupported, removeFromParent, setEventSender, setMode, setParent, setVisiblesetIdgetIdsetTooltipgetTooltipsetEnabledisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedsetLengthgetLengthgetHeightInPixel, getWidthInPixelgetAttributesetAttributeisFocusedsetFocusedsetAccessKeygetAccessKeysetValuegetValuesetValueAsStringgetValueAsStringsetValidationFailuregetValidationFailuregetAltTextgetUrlgetImagegetSelectionModegetTitleprivate 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.