VALUE
- is the generic type of the value
.ADAPTER
- is the generic type of AbstractUiWidgetNative.getWidgetAdapter()
.public abstract class AbstractUiWidgetComboboxField<ADAPTER extends UiWidgetAdapterComboboxField<VALUE>,VALUE> extends AbstractUiWidgetOptionsField<ADAPTER,VALUE> implements UiWidgetComboboxField<VALUE>
UiWidgetComboboxField
.AbstractUiWidgetNative.SizeImpl
AbstractUiWidget.AccessHelper, AbstractUiWidget.EventSender, AbstractUiWidget.HandlerContainer
CODE_UNDEFINED_OPTION
STYLE_FIELD, STYLE_LABEL, STYLE_MANDATORY, STYLE_VIEW
STYLE_HEADER
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
WAI_ARIA
PROPERTY_LABEL
ACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEY
Constructor and Description |
---|
AbstractUiWidgetComboboxField(UiContext context,
ADAPTER widgetAdapter)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
RoleCombobox |
getAriaRole()
This method gets the
Accessibility.WAI_ARIA role of this object. |
protected Class<? extends Role> |
getAriaRoleFixedType() |
convertCustomInputToValue, convertFromValue, convertToValue, convertValueToString, doGetValue, getFormatter, getNullValue, getOptions, getValueClass, initializeWidgetAdapter, isAllowCustomInput, setAllowCustomInput, setFormatter, setOptions
clearValidationFailure, doSetValue, getLabel, getLabelWidget, getSource, getValidationFailure, getValueAsString, getValueDirect, isTrimValue, setId, setLabel, setMandatory, setTrimValue, setValidationFailure, setValue, setValueAsString, setVisible, toString
addFocusHandler, getAccessKey, isFocused, onAccessKeyPressed, removeFocusHandler, setAccessKey, setFocused, setFocused
addChangeHandler, 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, visibilityChanged
addEventHandler, addValidator, clearMessagesLocal, fireEvent, fireValueChange, getBasicUtil, getContext, getDataBinding, getDataBinding, getDataBindingForWidget, getEventSender, getFactory, getLogger, getObserverSource, getOriginalValue, getRecentValue, getValueOrException, getWidgetAdapter, hasEventSender, isMandatory, isModified, removeEventHandler, removeFromParent, removeValidator, setModified, setParent
addValidatorMandatory, createValidationFailure, getValue, getValueAndValidate, handleGetValueError, resetValue, setValue, setValueForUser, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLabel, getLabelWidget, setLabel
getChild, getChild
getChildCount, getChildIndex
getContext, getParent, getSize
clearMessages
addEventHandler, removeEventHandler
setMode
getMode
setModeFixed
getModeFixed
setId
getId
setTooltip
getTooltip
getVisibleFlag, isVisible, setVisible, setVisible
isVisibleRecursive
setEnabled
isEnabled
addStyle, removeStyle
hasStyle
setStyles
getStyles
setPrimaryStyle
getPrimaryStyle
dispose
isDisposed
isModified
getValue
getValueAndValidate, getValueDirect
addChangeHandler, removeChangeHandler
resetValue, setValue, setValue, setValueForUser
getOriginalValue, getValueOrException
addValidatorMandatory, isMandatory
addValidator, removeValidator
setValueAsString
getValueAsString
setValidationFailure
getValidationFailure
setTrimValue
isTrimValue
setAccessKey
getAccessKey
addFocusHandler, removeFocusHandler
isFocused
setFocused
setFormatter
setOptions
getOptions
getFormatter
setAllowCustomInput
isAllowCustomInput
public AbstractUiWidgetComboboxField(UiContext context, ADAPTER widgetAdapter)
context
- is the context
.widgetAdapter
- is the widget adapter
. Typically null
for
lazy initialization.public final RoleCombobox 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 AttributeReadAriaRole
getAriaRole
in interface UiWidgetComboboxField<VALUE>
getAriaRole
in class AbstractUiWidgetNative<ADAPTER extends UiWidgetAdapterComboboxField<VALUE>,VALUE>
Role
or null
if NOT set.Accessibility
protected Class<? extends Role> getAriaRoleFixedType()
getAriaRoleFixedType
in class AbstractUiWidgetNative<ADAPTER extends UiWidgetAdapterComboboxField<VALUE>,VALUE>
Class
reflecting the Role
that is fixed for this widget or null
if the role can be changed dynamically.Copyright © 2001–2016 mmm-Team. All rights reserved.