The sap.m.ComboBoxTextField
.
Since: 1.34.
Method Summary
sap.m.ComboBoxTextField.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.m.ComboBoxTextField with name sClassName
and enriches it with the information contained in oClassInfo
. setMaxWidth(sMaxWidth)Sets a new value for property maxWidth
. setShowButton(bShowButton)Sets a new value for property showButton
. addAriaLabelledBy,
applyFocusInfo,
attachChange,
bindToInputEvent,
bindValue,
closeValueStateMessage,
detachChange,
fireChange,
fireChangeEvent,
getAriaLabelledBy,
getEditable,
getEnabled,
getFocusInfo,
getName,
getPlaceholder,
getRequired,
getSelectedText,
getShowValueStateMessage,
getTextAlign,
getTextDirection,
getValueState,
getValueStateText,
getWidth,
onChange,
onValueRevertedByEscape,
openValueStateMessage,
removeAllAriaLabelledBy,
removeAriaLabelledBy,
selectText,
setEditable,
setEnabled,
setName,
setPlaceholder,
setRequired,
setShowValueStateMessage,
setTextAlign,
setTextDirection,
setValue,
setValueState,
setValueStateText,
setWidth,
unbindValue,
updateDomValue addStyleClass,
allowTextSelection,
attachBrowserEvent,
attachValidateFieldGroup,
checkFieldGroupIds,
clone,
detachBrowserEvent,
detachValidateFieldGroup,
fireValidateFieldGroup,
getBusy,
getBusyIndicatorDelay,
getControlsByFieldGroupId,
getFieldGroupIds,
getIdForLabel,
getRenderer,
getVisible,
hasStyleClass,
invalidate,
isBusy,
placeAt,
removeStyleClass,
rerender,
setBusy,
setBusyIndicatorDelay,
setFieldGroupIds,
setVisible,
toggleStyleClass,
triggerValidateFieldGroup $,
addCustomData,
addDependent,
addEventDelegate,
bindElement,
data,
destroy,
destroyCustomData,
destroyDependents,
destroyLayoutData,
destroyTooltip,
enhanceAccessibilityState,
findElements,
fireEvent,
focus,
getCustomData,
getDependents,
getDomRef,
getElementBinding,
getFocusDomRef,
getInterface,
getLayoutData,
getMetadata,
getTooltip,
getTooltip_AsString,
getTooltip_Text,
indexOfCustomData,
indexOfDependent,
insertCustomData,
insertDependent,
prop,
removeAllCustomData,
removeAllDependents,
removeCustomData,
removeDependent,
removeEventDelegate,
setLayoutData,
setTooltip,
toString,
unbindElement addAggregation,
addAssociation,
applySettings,
attachFormatError,
attachModelContextChange,
attachParseError,
attachValidationError,
attachValidationSuccess,
bindAggregation,
bindContext,
bindObject,
bindProperty,
destroyAggregation,
detachFormatError,
detachModelContextChange,
detachParseError,
detachValidationError,
detachValidationSuccess,
findAggregatedObjects,
fireFormatError,
fireModelContextChange,
fireParseError,
fireValidationError,
fireValidationSuccess,
getAggregation,
getAssociation,
getBinding,
getBindingContext,
getBindingInfo,
getBindingPath,
getEventingParent,
getId,
getModel,
getObjectBinding,
getOriginInfo,
getParent,
getProperty,
hasModel,
indexOfAggregation,
insertAggregation,
isBound,
isInvalidateSuppressed,
isTreeBinding,
removeAggregation,
removeAllAggregation,
removeAllAssociation,
removeAssociation,
setAggregation,
setAssociation,
setBindingContext,
setModel,
unbindAggregation,
unbindContext,
unbindObject,
unbindProperty,
validateAggregation,
validateProperty Constructor Detail
new sap.m.ComboBoxTextField(sId?, mSettings?)
Constructor for a new
sap.m.ComboBoxTextField
.
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
In addition, all settings applicable to the base type sap.m.InputBase can be used as well.
Parameters:
{string} | sId? | ID for the new control, generated automatically if no ID is given. |
{object} | mSettings? | Initial settings for the new control. |
Method Detail
sap.m.ComboBoxTextField.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.m.ComboBoxTextField with name
sClassName
and enriches it with the information contained in
oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.m.InputBase.extend.
Parameters:
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
Returns:
{function} | Created class / constructor function |
Returns a metadata object for class sap.m.ComboBoxTextField.
Returns:
getAccessibilityInfo()
See:
{sap.ui.core.Control#getAccessibilityInfo} |
Gets current value of property
maxWidth
.
Sets the maximum width of the text field.
Default value is 100%
.
Returns:
getShowButton(): boolean
Gets current value of property
showButton
.
Indicates whether the dropdown arrow button is shown.
Default value is true
.
- Since:
- 1.38
Returns:
{boolean} | Value of property showButton |
getValue(): string
Gets the
value
.
Default value is an empty string.
Returns:
{string} | The value of property value . |
Sets a new value for property
maxWidth
.
Sets the maximum width of the text field.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 100%
.
Parameters:
Returns:
Sets a new value for property
showButton
.
Indicates whether the dropdown arrow button is shown.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Parameters:
{boolean} | bShowButton | New value for property showButton |
- Since:
- 1.38
Returns: