VALUE - is the generic type of the value.ADAPTER - is the generic type of AbstractUiWidgetNative.getWidgetAdapter().public abstract class AbstractUiWidgetRangeField<ADAPTER extends UiWidgetAdapterRangeField<VALUE>,VALUE> extends AbstractUiWidgetField<ADAPTER,VALUE,VALUE> implements UiWidgetRangeField<VALUE>
UiWidgetRangeField.AbstractUiWidgetNative.SizeImplAbstractUiWidget.AccessHelper, AbstractUiWidget.EventSender, AbstractUiWidget.HandlerContainer| Modifier and Type | Field and Description |
|---|---|
private VALUE |
maximumValue |
private VALUE |
minimumValue |
STYLE_FIELD, STYLE_LABEL, STYLE_MANDATORY, STYLE_VIEWSTYLE_HEADERHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_ARIAPROPERTY_LABELACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEY| Constructor and Description |
|---|
AbstractUiWidgetRangeField(UiContext context,
ADAPTER widgetAdapter)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
RoleSlider |
getAriaRole()
This method gets the
Accessibility.WAI_ARIA role of this object. |
protected Class<? extends Role> |
getAriaRoleFixedType() |
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. |
clearValidationFailure, convertFromValue, convertToValue, doGetValue, doSetValue, getLabel, getLabelWidget, getNullValue, getSource, getValidationFailure, getValueAsString, getValueClass, getValueDirect, initializeWidgetAdapter, isTrimValue, setId, setLabel, setMandatory, setTrimValue, setValidationFailure, setValue, setValueAsString, setVisible, toStringaddFocusHandler, getAccessKey, isFocused, onAccessKeyPressed, removeFocusHandler, setAccessKey, setFocused, setFocusedaddChangeHandler, addStyle, clearMessages, clearValidity, createSize, createUniqueId, createWidgetAdapter, dispose, doSetMode, doValidate, getChild, getChild, getChildCount, getChildIndex, getId, getIndexOfStyle, getMode, getModeFixed, getParent, getPrimaryStyle, getSize, getStyles, getTooltip, getVisibleFlag, getWidgetAdapter, getWidgetAdapter, hasStyle, hasWidgetAdapter, isDisposed, isEnabled, isModifiedRecursive, isVisible, isVisibleRecursive, removeChangeHandler, removeFromParent, removeStyle, setAriaRole, setEnabled, setIdPrefix, setMode, setMode, setModeFixed, setParent, setPrimaryStyle, setStyles, setTooltip, setVisible, visibilityChangedaddEventHandler, addValidator, clearMessagesLocal, convertValueToString, fireEvent, fireValueChange, getBasicUtil, getContext, getDataBinding, getDataBinding, getDataBindingForWidget, getEventSender, getFactory, getLogger, getObserverSource, getOriginalValue, getRecentValue, getValueOrException, getWidgetAdapter, hasEventSender, isMandatory, isModified, removeEventHandler, removeFromParent, removeValidator, setModified, setParentaddValidatorMandatory, createValidationFailure, getValue, getValueAndValidate, handleGetValueError, resetValue, setValue, setValueForUser, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLabel, getLabelWidget, setLabelgetChild, getChildgetChildCount, getChildIndexgetContext, getParent, getSizeclearMessagesaddEventHandler, removeEventHandlersetModegetModesetModeFixedgetModeFixedsetIdgetIdsetTooltipgetTooltipgetVisibleFlag, isVisible, setVisible, setVisibleisVisibleRecursivesetEnabledisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedisModifiedgetValuegetValueAndValidate, getValueDirectaddChangeHandler, removeChangeHandlerresetValue, setValue, setValue, setValueForUsergetOriginalValue, getValueOrExceptionaddValidatorMandatory, isMandatoryaddValidator, removeValidatorsetValueAsStringgetValueAsStringsetValidationFailuregetValidationFailuresetTrimValueisTrimValuesetAccessKeygetAccessKeyaddFocusHandler, removeFocusHandlerisFocusedsetFocusedprivate VALUE minimumValue
getMinimumValue()private VALUE maximumValue
getMaximumValue()public AbstractUiWidgetRangeField(UiContext context, ADAPTER widgetAdapter)
context - is the context.widgetAdapter - is the widget adapter. Typically null for
lazy initialization.public final RoleSlider getAriaRole()
Accessibility.WAI_ARIA role of this object. UiWidget) is supposed to provide high-level
widgets and support setting the according Role and their attributes automatically. Therefore
users should only use this for special situations e.g. for setting aria-hidden intentionally for a visible object.getAriaRole in interface AttributeReadAriaRolegetAriaRole in class AbstractUiWidgetNative<ADAPTER extends UiWidgetAdapterRangeField<VALUE>,VALUE>Role or null if NOT set.Accessibilityprotected Class<? extends Role> getAriaRoleFixedType()
getAriaRoleFixedType in class AbstractUiWidgetNative<ADAPTER extends UiWidgetAdapterRangeField<VALUE>,VALUE>Class reflecting the Role that is fixed for this widget or null
if the role can be changed dynamically.public VALUE getMinimumValue()
value of this object. A legal value has
to be greater or equal to this minimum.getMinimumValue in interface AttributeReadMinimumValue<VALUE>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>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>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>maximum - is the new maximum value to set. Use e.g. Integer.MAX_VALUE to
unset.Copyright © 2001–2016 mmm-Team. All rights reserved.