Class: TabControlProxy¶
TabControlProxy is a developer-facing class that provides access to a BottomnNvigation and Tabs and its items for application specific customizations.
Hierarchy¶
-
TabControlProxy
Implements¶
Summary¶
Constructors¶
Properties¶
Class Properties¶
Currently none in this class.
Inherited Properties¶
Accessors¶
Class Accessors¶
Inherited Accessors¶
Methods¶
Class Methods¶
- getItemCaption
- getSelectedTabItemIndex
- getSelectedTabItemName
- isContainer
- setItemCaption
- setSelectedTabItemByIndex
- setSelectedTabItemByName
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
- 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
- initializeLogger
- isAppInMultiUserMode
- isContainer
- isCurrentPage
- isDemoMode
- isDeviceCompliant
- isMediaLocal
- localizeText
- read
- redraw
- sendMobileServiceRequest
- sendRequest
- setApplicationIconBadgeNumber
- setDebugSettings
- setEditable
- setLanguage
- setMdkWindows
- setRegion
- setStyle
- setTheme
- setUseInAppCamera
- setValidationProperty
- setValue
- setVisible
- showActivityIndicator
- updateProgressBanner
Constructors¶
Constructor¶
+ new TabControlProxy(context: IContext): TabControlProxy
Overrides ControlProxy.constructor
Parameters:
| Name | Type |
|---|---|
| context | IContext |
Returns: TabControlProxy
Accessors¶
tabItems¶
Get Signature¶
▸ getter
Returns¶
list of items in the tab control
Implementation of ITabControlProxy.tabItems
Methods¶
getItemCaption¶
▸ getItemCaption(tabItemName: string): string
Implementation of ITabControlProxy.getItemCaption
Parameters:
| Name | Type |
|---|---|
| tabItemName | string |
Returns: string
tab item caption based on tab item name
getSelectedTabItemIndex¶
▸ getSelectedTabItemIndex(): number
Implementation of ITabControlProxy.getSelectedTabItemIndex
Returns: number
selected tab item index
getSelectedTabItemName¶
▸ getSelectedTabItemName(): number
Implementation of ITabControlProxy.getSelectedTabItemName
Returns: number
selected tab item name
isContainer¶
▸ isContainer(): boolean
Determine if the tab control is a container.
Implementation of ITabControlProxy.isContainer Overrides ControlProxy.isContainer
Returns: boolean
true/false. It always returns true for BottomNavigation.
setItemCaption¶
▸ setItemCaption(tabItemName: string, newCaption: string): void
Set tab item caption by tab item name
Implementation of ITabControlProxy.setItemCaption
Parameters:
| Name | Type |
|---|---|
| tabItemName | string |
| newCaption | string |
Returns: void
setSelectedTabItemByIndex¶
▸ setSelectedTabItemByIndex(tabItemIndex: number): void
Set selected tab item by index for tab control
Implementation of ITabControlProxy.setSelectedTabItemByIndex
Parameters:
| Name | Type |
|---|---|
| tabItemIndex | number |
Returns: void
setSelectedTabItemByName¶
▸ setSelectedTabItemByName(tabItemName: string): void
Set selected tab item by name for tab control
Implementation of ITabControlProxy.setSelectedTabItemByName
Parameters:
| Name | Type |
|---|---|
| tabItemName | string |
Returns: void