WIDGET
- is the generic type of AbstractUiWidgetAdapter.getToplevelWidget()
.VALUE
- is the generic type of the value
.public abstract class UiWidgetAdapterGwtNumberField<WIDGET extends NumberBox<VALUE>,VALUE extends Number> extends UiWidgetAdapterGwtFieldValueBoxBase<WIDGET,VALUE,VALUE> implements UiWidgetAdapterRangeField<VALUE>, AttributeWriteMaximumTextLength
UiWidgetAdapterField
using GWT based on NumberBox
.UiWidgetAdapterGwtFieldValueBoxBase.ValueAdapter
TAB_INDEX_NONE
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_LABEL
ATTRIBUTE_COLSPAN
Constructor and Description |
---|
UiWidgetAdapterGwtNumberField()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setMaximumTextLength(int length)
This method sets the
maximum text length 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. |
getWidgetAsTakesValueString
getWidgetAsTakesValue
getWidgetAsFocusable, getWidgetAsHasAllFocusHandlers, getWidgetAsHasChangeHandlers, getWidgetAsKeyPressHandlers, setEnabled
applyEventAdapterForChange, attachActiveWidget, convertValueToString, createActiveWidget, createToplevelWidget, createViewWidget, getActiveWidget, getInputElement, getMaximumValue, getMinimumValue, getValue, getValueAsString, getWidgetViewMode, setAdapterValueInViewMode, setMode, setValidationFailure, setValue, setValueAsString, setValueInViewMode, updateWidgetViewMode
applyEventAdapterForClick, applyEventAdapterForFocus, getKeyboardFilter, getWidgetAsHasBlurHandlers, getWidgetAsHasFocusHandlers, setAccessKey, setClickEventSender, setFocused, setKeyboardFilter
dispose, removeFromParent
addHandlerRegistration, addStyle, createAbsoluteImageUrl, createEventAdapter, getHeightInPixel, getImage, getImageParentElement, getLength, getSizeElement, getToplevelWidget, getToplevelWidget, getWidthInPixel, isStyleDeltaSupported, removeStyle, setAttribute, setId, setImage, setLength, setPrimaryStyle, setStyles, setTooltip, setVisible
applyEventAdapter, applyEventAdapterForSelection, getEventAdapter, setEventSender
createLabel, getAccessKey, getAltText, getAttribute, getBundle, getColumnSpan, getContext, getHeightInRows, getId, getLabel, getMaximumTextLength, getPrimaryStyle, getSelectionMode, getStyles, getTitle, getTooltip, getToplevelWidget, getUiWidget, getUiWidgetTyped, getUrl, getValidationFailure, hasStyle, isDisposed, isEnabled, isFocused, isResizable, setParent, 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
getMinimumValue
getMaximumValue
getMaximumTextLength
public UiWidgetAdapterGwtNumberField()
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 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.public void setMaximumTextLength(int length)
maximum text length
of this object. setMaximumTextLength
in interface AttributeWriteMaximumTextLength
length
- is the new maximum text length
to set. Use
Integer.MAX_VALUE
to unset.Copyright © 2001–2016 mmm-Team. All rights reserved.