Skip to content

Class: FioriToolbarProxy

FioriToolbarProxy is a developer-facing class that provides access to a fiori toolbar control for application specific customizations.

Hierarchy

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

Inherited Methods

Constructors

Constructor

+ new FioriToolbarProxy(context: IContext): FioriToolbarProxy

Overrides ControlProxy.constructor

Parameters:

Name Type
context IContext

Returns: FioriToolbarProxy

Methods

getDataSubscriptions

getDataSubscriptions(): string[]

Returns the DataSubscriptions property value defined for the toolbar control.

Implementation of IFioriToolbarProxy.getDataSubscriptions

Returns: string[]


getHelperText

getHelperText(): string

Returns the HelperText property value defined for the toolbar control.

Implementation of IFioriToolbarProxy.getHelperText

Returns: string


getItem

getItem(itemName: string): IFioriToolbarItemProxy

Implementation of IFioriToolbarProxy.getItem

Parameters:

Name Type Description
itemName string takes in _Name property of the toolbar item

Returns: IFioriToolbarItemProxy

returns the FioriToolbarItemProxy instance of the item by the name


getItems

getItems(): IFioriToolbarItemProxy[]

This method returns the top-level controls of Toolbar Items for this container

Implementation of IFioriToolbarProxy.getItems

Returns: IFioriToolbarItemProxy[]

The toolbar items controls for this container


getOverflowIcon

getOverflowIcon(): string

Returns the Image property value defined for the control.

Implementation of IFioriToolbarProxy.getOverflowIcon

Returns: string


getVisible

getVisible(): boolean

Implementation of IFioriToolbarProxy.getVisible

Returns: boolean

true/false


isContainer

isContainer(): boolean

Determine if the toolbar control is a container.

Implementation of IFioriToolbarProxy.isContainer Overrides ControlProxy.isContainer

Returns: boolean

true/false.


reset

reset(): Promise<any>

Reset Toolbar and its items

Implementation of IFioriToolbarProxy.reset

Returns: Promise<any>


setDataSubscriptions

setDataSubscriptions(dataSubscriptions: string[]): void

Sets the DataSubscriptions property of the toolbar control.

Implementation of IFioriToolbarProxy.setDataSubscriptions

Parameters:

Name Type Description
dataSubscriptions string[] value to set.

Returns: void


setHelperText

setHelperText(helperText: string): void

Sets the HelperText property of the toolbar control.

Implementation of IFioriToolbarProxy.setHelperText

Parameters:

Name Type Description
helperText string value to set.

Returns: void


setOverflowIcon

setOverflowIcon(overflowIcon: string): void

Sets the OverflowIcon property of the fiori toolbar control.

Implementation of IFioriToolbarProxy.setOverflowIcon

Parameters:

Name Type Description
overflowIcon string value to set.

Returns: void


setVisible

setVisible(value: boolean, redraw?: boolean = true): FioriToolbarProxy

Sets the toolbar's visible state with / without redraw

Implementation of IFioriToolbarProxy.setVisible Overrides ControlProxy.setVisible

Parameters:

Name Type Description
value boolean visible state
redraw? boolean = true true if redraw after setting the visible state

Returns: FioriToolbarProxy