Class: FioriToolbarButtonProxy¶
FioriToolbarButtonProxy is a developer-facing class that provides access to a toolbar button control for application specific customizations.
Hierarchy¶
-
FioriToolbarButtonProxy
Implements¶
Summary¶
Constructors¶
Properties¶
Class Properties¶
Currently none in this class.
Inherited Properties¶
Accessors¶
Class Accessors¶
Currently none in this class.
Inherited Accessors¶
Methods¶
Class Methods¶
- getButtonType
- getImage
- getImagePosition
- getSemantic
- getTitle
- setButtonType
- setImage
- setImagePosition
- setSemantic
- setTitle
Inherited Methods¶
- _clientAPIProps
- _getExecuteSource
- applyValidation
- base64StringToBinary
- binaryToBase64String
- callFunction
- clearValidation
- clearValidationOnValueChange
- convertFilterCriteriaArrayToJSONString
- convertJSONStringToFilterCriteriaArray
- count
- create
- createFilterCriteria
- createFilterSelection
- createLinkSpecifierProxy
- createSorterSelection
- deleteODataCacheImages
- dismissActivityIndicator
- downloadInProgressForPage
- downloadInProgressForReadLink
- evaluateTargetPath
- evaluateTargetPathForAPI
- executeAction
- formatBase64String
- formatCurrency
- formatDate
- formatDatetime
- formatNumber
- formatPercentage
- formatScientific
- formatTime
- getActionResult
- getAppClientData
- getAppearanceMode
- getAppEventData
- getAppName
- getAvailableThemes
- getBindingObject
- getCaption
- getCircularImage
- getClientData
- getDefinitionValue
- getEnabled
- getEventData
- getGlobalDefinition
- getGlobalSideDrawerControlProxy
- getIconTextImage
- getLanguage
- getLogger
- getMobileServiceAppId
- getMobileServiceEndpointUrl
- getName
- getODataCacheImagePath
- getODataProvider
- getPageDefinition
- getPageProxy
- getParent
- getPasscodeSource
- getPendingDownload
- getReadLink
- getRegion
- getRegions
- getSAPPassportHeaderValue
- getSupportedLanguages
- getTheme
- getType
- getUseInAppCamera
- getValue
- getVersionInfo
- getVisible
- initializeLogger
- isAppInMultiUserMode
- isContainer
- isCurrentPage
- isDemoMode
- isDeviceCompliant
- isMediaLocal
- localizeText
- read
- redraw
- sendMobileServiceRequest
- sendRequest
- setApplicationIconBadgeNumber
- setDebugSettings
- setEditable
- setEnabled
- setLanguage
- setMdkWindows
- setRegion
- setStyle
- setTheme
- setUseInAppCamera
- setValidationProperty
- setValue
- setVisible
- showActivityIndicator
- updateProgressBanner
Constructors¶
Constructor¶
+ new FioriToolbarButtonProxy(context: IContext): FioriToolbarButtonProxy
Inherited from FioriToolbarItemProxy.constructor
Parameters:
| Name | Type |
|---|---|
| context | IContext |
Returns: FioriToolbarButtonProxy
Methods¶
getButtonType¶
▸ getButtonType(): string
Returns the ButtonType property value defined for the control.
Implementation of IFioriToolbarButtonProxy.getButtonType
Returns: string
getImage¶
▸ getImage(): string
Returns the Image property value defined for the control.
Implementation of IFioriToolbarButtonProxy.getImage
Returns: string
getImagePosition¶
▸ getImagePosition(): string
Returns the ImagePosition property value defined for the Button control.
Implementation of IFioriToolbarButtonProxy.getImagePosition
Returns: string
getSemantic¶
▸ getSemantic(): string
Returns the Semantic property value defined for the Button control.
Implementation of IFioriToolbarButtonProxy.getSemantic
Returns: string
getTitle¶
▸ getTitle(): string
Returns the Title property value defined for the control.
Implementation of IFioriToolbarButtonProxy.getTitle
Returns: string
setButtonType¶
▸ setButtonType(type: string): void
Sets the ButtonType property of the control. Accepted values are: "Primary", "Secondary", "Text".
Implementation of IFioriToolbarButtonProxy.setButtonType
Parameters:
| Name | Type | Description |
|---|---|---|
| type | string | value to set. |
Returns: void
setImage¶
▸ setImage(image: string): void
Sets the Image property of the Button control.
Implementation of IFioriToolbarButtonProxy.setImage
Parameters:
| Name | Type | Description |
|---|---|---|
| image | string | value to set. |
Returns: void
setImagePosition¶
▸ setImagePosition(imagePosition: string): void
Sets the ImagePosition property of the Button control. Accepted values are: "Leading", "Trailing".
Implementation of IFioriToolbarButtonProxy.setImagePosition
Parameters:
| Name | Type | Description |
|---|---|---|
| imagePosition | string | value to set. |
Returns: void
setSemantic¶
▸ setSemantic(semantic: string): void
Sets the Semantic property of the Button control. Accepted values are: "Normal", "Tint", "Negative".
Implementation of IFioriToolbarButtonProxy.setSemantic
Parameters:
| Name | Type | Description |
|---|---|---|
| semantic | string | value to set. |
Returns: void
setTitle¶
▸ setTitle(title: string): void
Sets the Title property of the Button control.
Implementation of IFioriToolbarButtonProxy.setTitle
Parameters:
| Name | Type | Description |
|---|---|---|
| title | string | value to set. |
Returns: void